You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nikhil Bafna (JIRA)" <ji...@apache.org> on 2019/04/17 05:52:00 UTC

[jira] [Created] (HBASE-22256) Enabling FavoredStochasticBalancer on existing cluster leaves regions unassigned

Nikhil Bafna created HBASE-22256:
------------------------------------

             Summary: Enabling FavoredStochasticBalancer on existing cluster leaves regions unassigned
                 Key: HBASE-22256
                 URL: https://issues.apache.org/jira/browse/HBASE-22256
             Project: HBase
          Issue Type: Bug
          Components: Balancer
    Affects Versions: 2.1.3
            Reporter: Nikhil Bafna


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)