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

        

Reply via email to