Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8136

coprocessor service requires .meta. to be available all the time.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.95.2
    • Fix Version/s: None
    • Component/s: Client, Coprocessors
    • Labels:
      None

      Description

      HTable#getRegionLocations does not use a cache: all the calls to this function go to .META.

      So:

      • we're missing an opportunity to reuse/update the location cache in the HConnection.
      • this method is called by the coprocessor service. So, for people using this features, they have .meta. on their execution path, and it's not good for performances, scalability and reliability.

      I'm not totally clear on the fix. I think it should be possible to use the cache to see if we have all regions for the table. But it means we won't always have the last version when calling getRegionLocations.

      Any thought on this?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nkeywal Nicolas Liochon
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: