clarax commented on a change in pull request #2376:
URL: https://github.com/apache/hbase/pull/2376#discussion_r486496254
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
##########
@@ -204,19 +204,19 @@ public synchronized void setConf(Configuration conf) {
regionReplicaRackCostFunction = new RegionReplicaRackCostFunction(conf);
costFunctions = new ArrayList<>();
- costFunctions.add(new RegionCountSkewCostFunction(conf));
- costFunctions.add(new PrimaryRegionCountSkewCostFunction(conf));
- costFunctions.add(new MoveCostFunction(conf));
- costFunctions.add(localityCost);
- costFunctions.add(rackLocalityCost);
- costFunctions.add(new TableSkewCostFunction(conf));
- costFunctions.add(regionReplicaHostCostFunction);
- costFunctions.add(regionReplicaRackCostFunction);
- costFunctions.add(regionLoadFunctions[0]);
- costFunctions.add(regionLoadFunctions[1]);
- costFunctions.add(regionLoadFunctions[2]);
- costFunctions.add(regionLoadFunctions[3]);
- loadCustomCostFunctions(conf);
Review comment:
Goo catch. Thank you.Will add back.
----------------------------------------------------------------
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]