hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4054) Usability improvement to HTablePool
Date Thu, 16 Aug 2012 23:55:39 GMT

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

Hudson commented on HBASE-4054:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #132 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/132/])
    HBASE-6471 Performance regression caused by HBASE-4054 (Revision 1373917)

     Result = FAILURE
jxiang : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RegionsResource.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHTablePool.java

                
> Usability improvement to HTablePool
> -----------------------------------
>
>                 Key: HBASE-4054
>                 URL: https://issues.apache.org/jira/browse/HBASE-4054
>             Project: HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.90.3
>            Reporter: Daniel Iancu
>            Assignee: Daniel Iancu
>            Priority: Minor
>             Fix For: 0.92.0
>
>         Attachments: 4054.addendum, HBASE-4054_Usability_improvement_to_HTablePool.patch,
HBASE-4054_Usability_improvement_to_HTablePool-trunk.patch, TestHTablePool-trunk.patch
>
>
> To improve the usability of the HTablePool the implementation should not rely on the
user returning the connection to the pool but rather do that transparently when user closes
the HTableImplementation it got.
>  
> To do that a HTableImplementation proxy implementation should be returned that wraps
a HTable object and holds a reference to the pool. When the client close the proxy it will
actually automatically return the wrapped HTable back in pool to be reused. In this case the
method HTablePool.putTable don't need to be public

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

        

Mime
View raw message