You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2010/04/11 21:30:41 UTC

[jira] Updated: (HBASE-2435) HTablePool - method to release resources after use

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

Kay Kay updated HBASE-2435:
---------------------------

    Attachment: HBASE-2435.patch

1.  Added
HTableInterfaceFactory#  void releaseHTableInterface(final HTableInterface table); 

2. Added 
HTablePool#closeTablePool(final String tableName) 

3. Added 
HTablePool#getCurrentPoolSize(tableName)  - package level access for use with the unit test cases. 

4. TestHTablePool 

one more test case added for closing table pool, along with the setup of the mini cluster as specified by the HTableTestingUtility. 




> HTablePool - method to release resources after use
> --------------------------------------------------
>
>                 Key: HBASE-2435
>                 URL: https://issues.apache.org/jira/browse/HBASE-2435
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>            Reporter: Kay Kay
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: HBASE-2435.patch
>
>
> Provide a method to release the underlying HTable-s after use( for a given table).  Useful for shutdown of resources. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira