Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-477

HBase HTable.getRegionsInRange() should provide a non-cached API

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH4.2.1
    • Fix Version/s: CDH4.4.0, CDH5.0.0
    • Component/s: HBase
    • Labels:
      None

      Description

      getRegionsInRange() calls getRegionLocation() without reloading it. It will return wrong result if the cache is outdated due to region split. If the cost of always reloading isn't significant, we should consider doing that by default. Otherwise, let's have an API for getRegionsInRange() that forces a reload.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alan alan choi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: