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

Lars Hofhansl commented on HBASE-6471:
--------------------------------------

Please see my comment on HBASE-5728. I am not sure we want to leak a lot of the 
HTable internals (anything related to regions, etc) up into the interface.
So maybe just remove the delegation code from PooledHTable and add a 
constructor to HTable that avoids the ZK/Meta scan?
                
> Performance regression caused by HBASE-4054
> -------------------------------------------
>
>                 Key: HBASE-6471
>                 URL: https://issues.apache.org/jira/browse/HBASE-6471
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Lars George
>            Priority: Critical
>             Fix For: 0.94.2
>
>
> The patch in HBASE-4054 switches the PooledHTable to extend HTable as opposed 
> to implement HTableInterface.
> Since HTable does not have an empty constructor, the patch added a call to 
> the super() constructor, which though does trigger the ZooKeeper and META 
> scan, causing a considerable delay. 
> With multiple threads using the pool in parallel, the first thread is holding 
> up all the subsequent ones, in effect it negates the whole reason we have a 
> HTable pool.
> We should complete HBASE-5728, or alternatively add a protected, empty 
> constructor the HTable. I am +1 for the former.

--
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

        

Reply via email to