You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/01/13 18:33:40 UTC

[jira] [Created] (GORA-459) Resource leak due to unclosed Table

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() :
{code}
    if (!admin.tableExists(tableName)) {
      htu.createTable(tableName, cfs);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)