hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2435) HTablePool - method to release resources after use
Date Mon, 12 Apr 2010 18:49:48 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856116#action_12856116
] 

Kay Kay commented on HBASE-2435:
--------------------------------

| Does HTable#close do anything? 

flushCommits() ? 

The HTable-s are set with autoCommit to false, for maximum throughput. So when the pool is
discarded, all the pending commits are flushed that way, as I am trying to move that logic
(flushCommits()) from the getTable/putTable path of the tablepool . 

> 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.5, 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

        

Mime
View raw message