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

Enabling FavoredStochasticBalancer on existing cluster leaves regions unassigned

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.1.3
    • None
    • Balancer
    • None

    Description

      This is related to HBASE-18349.

      The test that fails corresponding to this is TestFavoredStochasticLoadBalancer#testMisplacedRegions. When a region is misplaced w.r.t to the favored nodes, this balancer unassigns the region and the new RegionPlan has the source server as null leading to NPE later. This leaves the affected regions to be unassigned after the balancer run.

      This is problematic especially when moving from a different balancer to the FavoredStochasticLoadBalancer because all regions would be "misplaced" in the favored balancer's run.

      The fix is along the lines of HBASE-18602.

      Attachments

        1. HBASE-22256.master.001.patch
          2 kB
          Nikhil Bafna
        2. HBASE-22256.master.001.patch
          2 kB
          Nikhil Bafna
        3. HBASE-22256.master.001.patch
          2 kB
          Nikhil Bafna

        Activity

          People

            Unassigned Unassigned
            zodvik Nikhil Bafna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: