rmdmattingly commented on code in PR #6651:
URL: https://github.com/apache/hbase/pull/6651#discussion_r1963545439


##########
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java:
##########
@@ -439,22 +466,25 @@ boolean needsBalance(TableName tableName, 
BalancerClusterState cluster) {
         costFunctions);
       LOG.info(
         "{} - skipping load balancing because weighted average imbalance={} <= 
"
-          + "threshold({}). If you want more aggressive balancing, either 
lower "
+          + "threshold({}) and conditionals do not have opinionated move 
candidates. "
+          + "consecutive balancer runs. If you want more aggressive balancing, 
either lower "
           + "hbase.master.balancer.stochastic.minCostNeedBalance from {} or 
increase the relative "
           + "multiplier(s) of the specific cost function(s). functionCost={}",
         isByTable ? "Table specific (" + tableName + ")" : "Cluster wide", 
total / sumMultiplier,
         minCostNeedBalance, minCostNeedBalance, functionCost());
     } else {
-      LOG.info("{} - Calculating plan. may take up to {}ms to complete.",
-        isByTable ? "Table specific (" + tableName + ")" : "Cluster wide", 
maxRunningTime);
+      LOG.info(
+        "{} - Calculating plan. may take up to {}ms to complete. 
currentCost={}, targetCost={}",
+        isByTable ? "Table specific (" + tableName + ")" : "Cluster wide", 
maxRunningTime, total,

Review Comment:
   Got rid of the resource overrun, so I'm going to leave this alone for now



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to