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

          honghua zhu created issue -
          honghua zhu made changes -
          Field Original Value New Value
          Attachment HBASE-5492.patch [ 12516578 ]
          honghua zhu made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Todd Lipcon made changes -
          Link This issue relates to HBASE-5489 [ HBASE-5489 ]
          stack made changes -
          Fix Version/s 0.92.2 [ 12319888 ]
          Fix Version/s 0.92.1 [ 12318551 ]
          stack made changes -
          Fix Version/s 0.92.3 [ 12321692 ]
          Fix Version/s 0.92.2 [ 12319888 ]
          Gary Helmling made changes -
          Fix Version/s 0.92.3 [ 12321692 ]
          Gary Helmling made changes -
          Link This issue duplicates HBASE-6870 [ HBASE-6870 ]
          Gary Helmling made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development