clarax commented on a change in pull request #2376:
URL: https://github.com/apache/hbase/pull/2376#discussion_r486495740
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
##########
@@ -596,6 +596,14 @@ protected void updateCostsWithAction(Cluster cluster,
Action action) {
}
}
+ private void addCostFunction(CostFunction costFunction) {
+ if (costFunction.getMultiplier() <= 0) {
+ LOG.info("exclude cost function {}",
costFunction.getClass().getSimpleName());
Review comment:
This only gets logged once when the config is first loaded or
updated.The function loaded is already reported at
https://github.com/apache/hbase/blob/9e017e261ed323c25e9c36c36f8ee628e855830a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java#L224
I can change this into debug mode since the summary is already reported.
----------------------------------------------------------------
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]