HBase
  1. HBase
  2. HBASE-5492

Caching StartKeys and EndKeys of Regions

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.92.0
    • Fix Version/s: None
    • Component/s: Client
    • Labels:
      None
    • Environment:

      all

      Description

      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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              honghua zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development