You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Swarnim Kulkarni (JIRA)" <ji...@apache.org> on 2014/05/21 20:13:39 UTC

[jira] [Created] (HIVE-7109) Resource leak in HBaseStorageHandler

Swarnim Kulkarni created HIVE-7109:
--------------------------------------

             Summary: Resource leak in HBaseStorageHandler
                 Key: HIVE-7109
                 URL: https://issues.apache.org/jira/browse/HIVE-7109
             Project: Hive
          Issue Type: Bug
          Components: HBase Handler
            Reporter: Swarnim Kulkarni
            Assignee: Swarnim Kulkarni


The "preCreateTable" method in the HBaseStorageHandler checks that the HBase table is still online by creating a new instance of HTable

{code}
// ensure the table is online
new HTable(hbaseConf, tableDesc.getName());
{code}

However this instance is never closed. So if this test succeeds, we would have a resource leak in the code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)