HBASE-19148 Reevaluate default values of configurations; minor ADDENDUM

This commit is contained in:
Michael Stack 2017-12-21 14:13:23 -08:00
parent 4d6b928682
commit bcaf2fd20c
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
1 changed files with 1 additions and 1 deletions

View File

@ -1399,7 +1399,7 @@ public class HMaster extends HRegionServer implements MasterServices {
} }
} }
boolean isByTable = getConfiguration().getBoolean("hbase.master.loadbalance.bytable", true); boolean isByTable = getConfiguration().getBoolean("hbase.master.loadbalance.bytable", false);
Map<TableName, Map<ServerName, List<RegionInfo>>> assignmentsByTable = Map<TableName, Map<ServerName, List<RegionInfo>>> assignmentsByTable =
this.assignmentManager.getRegionStates().getAssignmentsByTable(!isByTable); this.assignmentManager.getRegionStates().getAssignmentsByTable(!isByTable);