HBase
  1. HBase
  2. HBASE-4402

Retaining locality after restart broken

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development