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/04/06 21:04:03 UTC

[GitHub] [hbase] clarax commented on a change in pull request #3067: HBASE-25625 HBASE-25625 StochasticBalancer CostFunctions needs a bett…

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



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
##########
@@ -522,6 +536,51 @@ public boolean serverHasTooFewRegions(int server) {
       return numRegions < minLoad;
     }
 
+    /**
+     * Return the min skew of distribution
+     */
+    public static double getMinSkew(double total, double numServers) {

Review comment:
       Yes. They are used else where so that they are also static.




-- 
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:
users@infra.apache.org