wchevreuil commented on a change in pull request #677: HBASE-23073 Add an
optional costFunction to balance regions according to a capacity rule
URL: https://github.com/apache/hbase/pull/677#discussion_r330983936
##########
File path:
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase.java
##########
@@ -366,20 +366,31 @@ protected void updateLoad(final Map<ServerName,
ServerAndLoad> map,
}
protected TreeMap<ServerName, List<RegionInfo>> mockClusterServers(int[]
mockCluster) {
- return mockClusterServers(mockCluster, -1);
+ return mockClusterServers(mockCluster, -1, false);
+ }
+
+ protected TreeMap<ServerName, List<RegionInfo>> mockClusterServers(int[]
mockCluster, int numTables) {
+ return mockClusterServers(mockCluster, -1, false);
}
protected BaseLoadBalancer.Cluster mockCluster(int[] mockCluster) {
return new BaseLoadBalancer.Cluster(
mockClusterServers(mockCluster, -1), null, null, null);
}
- protected TreeMap<ServerName, List<RegionInfo>> mockClusterServers(int[]
mockCluster, int numTables) {
+ protected TreeMap<ServerName, List<RegionInfo>> mockClusterServers(int[]
mockCluster, int numTables, boolean predictibleHosts) {
Review comment:
nit: _predictableHosts_ instead of _predictibleHosts_
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services