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)