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

Retaining locality after restart broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.92.0
    • 0.92.0
    • master
    • None
    • 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. 4402-v3.txt
          8 kB
          Michael Stack
        2. hbase-4402.txt
          8 kB
          Todd Lipcon
        3. hbase-4402.txt
          7 kB
          Todd Lipcon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: