You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2012/06/01 18:57:26 UTC

[jira] [Updated] (HBASE-5492) Caching StartKeys and EndKeys of Regions

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

stack updated HBASE-5492:
-------------------------

    Fix Version/s:     (was: 0.92.2)
                   0.92.3
    
> Caching StartKeys and EndKeys of Regions
> ----------------------------------------
>
>                 Key: HBASE-5492
>                 URL: https://issues.apache.org/jira/browse/HBASE-5492
>             Project: HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.92.0
>         Environment: all
>            Reporter: honghua zhu
>             Fix For: 0.92.3
>
>         Attachments: HBASE-5492.patch
>
>
> Each call for HTable.getStartEndKeys will read meta table.
> In particular, 
> in the case of client side multi-threaded concurrency statistics, 
> we must call HTable.coprocessorExec== > getStartKeysInRange ==> getStartEndKeys,
> resulting in the need to always scan the meta table.
> This is not necessary,
> we can implement the HConnectionManager.HConnectionImplementation.locateRegions(byte[] tableName) method,
> then, get the StartKeys and EndKeys from the cachedRegionLocations of HConnectionImplementation.
> Combined with https://issues.apache.org/jira/browse/HBASE-5491, can improve the performance of statistical

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