Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBASE-18511 Default no regions on master
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.
- Loading branch information
1 parent
acf9b87
commit 4734467
Showing
29 changed files
with
491 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.