gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GORA-459) Resource leak due to unclosed Table
Date Wed, 13 Jan 2016 17:33:40 GMT
Ted Yu created GORA-459:

             Summary: Resource leak due to unclosed Table
                 Key: GORA-459
                 URL: https://issues.apache.org/jira/browse/GORA-459
             Project: Apache Gora
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor

In HBaseClusterSingleton.java , there're several places where Table instance returned by HBaseTestingUtility
methods (such as createTable) is not closed.

Here is an example from ensureTable() :
    if (!admin.tableExists(tableName)) {
      htu.createTable(tableName, cfs);

This message was sent by Atlassian JIRA

View raw message