You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/10/06 22:00:27 UTC

[GitHub] [hbase] clarax commented on a change in pull request #3710: HBASE-26308 Sum of multiplier of cost functions is not populated properly when we have a shortcut for trigger

clarax commented on a change in pull request #3710:
URL: https://github.com/apache/hbase/pull/3710#discussion_r723706397



##########
File path: hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
##########
@@ -345,33 +346,27 @@ boolean needsBalance(TableName tableName, BalancerClusterState cluster) {
       return false;
     }
     if (areSomeRegionReplicasColocated(cluster)) {
-      LOG.info("Running balancer because at least one server hosts replicas of the same region.");
+      LOG.info("Running balancer because at least one server hosts replicas of the same region." +
+        " function cost={}", functionCost());

Review comment:
       This is only called at every balancer iteration, which is by default 5 min. I would not be worried.




-- 
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: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org