7149f99978
Changes the configuration hbase.balancer.tablesOnMaster from list of table names to instead be a boolean; true if master carries tables/regions and false if it does not. Adds a new configuration hbase.balancer.tablesOnMaster.systemTablesOnly. If true, hbase.balancer.tablesOnMaster is considered true but only system tables are put on the master. M hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java Master was claiming itself active master though it had stopped. Fix the activeMaster flag. Set it to false on exit. M hbase-server/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java Add new configs and convenience methods for getting current state of settings. M hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java Move configs up into super Interface and now the settings mean different, remove the no longer needed processing. |
||
---|---|---|
.. | ||
src | ||
pom.xml |