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

Retaining locality after restart broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.92.0
    • Component/s: master
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In DefaultLoadBalancer, we implement the "retain assignment" function like so:

            if (sn != null && servers.contains(sn)) {
              assignments.get(sn).add(region.getKey());
      

      but this will never work since after a cluster restart, all servers have a new ServerName with a new startcode.

        Attachments

        1. hbase-4402.txt
          7 kB
          Todd Lipcon
        2. hbase-4402.txt
          8 kB
          Todd Lipcon
        3. 4402-v3.txt
          8 kB
          stack

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: