Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
Reviewed
-
Description
After looking at the code, and some testing, I see the following things are missing for balancer to work properly after AMv2.
- hbase.master.loadbalance.bytable is not respected. It is always 'bytable'. Previous default is cluster wide, not by table.
- Servers with no assignments is not added for balance consideration.
- Crashed server is not removed from the in-memory server map in RegionStates, which affects balance.
- Draining marker is not respected when balance.
Also try to re-enable TestRegionRebalancing, which has a testRebalanceOnRegionServerNumberChange