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

2014-05-24 Thread Ashutosh Chauhan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-7109:
---

   Resolution: Fixed
Fix Version/s: 0.14.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Swarnim!

 Resource leak in HBaseStorageHandler
 

 Key: HIVE-7109
 URL: https://issues.apache.org/jira/browse/HIVE-7109
 Project: Hive
  Issue Type: Bug
  Components: HBase Handler
Affects Versions: 0.13.0
Reporter: Swarnim Kulkarni
Assignee: Swarnim Kulkarni
 Fix For: 0.14.0

 Attachments: HIVE-7109.1.patch.txt


 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)


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

2014-05-22 Thread Swarnim Kulkarni (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swarnim Kulkarni updated HIVE-7109:
---

Affects Version/s: 0.13.0
   Status: Patch Available  (was: Open)

 Resource leak in HBaseStorageHandler
 

 Key: HIVE-7109
 URL: https://issues.apache.org/jira/browse/HIVE-7109
 Project: Hive
  Issue Type: Bug
  Components: HBase Handler
Affects Versions: 0.13.0
Reporter: Swarnim Kulkarni
Assignee: Swarnim Kulkarni
 Attachments: HIVE-7109.1.patch.txt


 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)