wchevreuil commented on code in PR #6763:
URL: https://github.com/apache/hbase/pull/6763#discussion_r1988101474
##########
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/CacheAwareLoadBalancer.java:
##########
@@ -53,6 +55,12 @@
public class CacheAwareLoadBalancer extends StochasticLoadBalancer {
private static final Logger LOG =
LoggerFactory.getLogger(CacheAwareLoadBalancer.class);
+ public static final String CACHE_RATIO_THRESHOLD =
"hbase.master.balancer.stochastic.cacheRatio";
+
+ public static final String MOVE_THROTTLING =
"hbase.master.balancer.move.throttlingMs";
+
+ public static final long MOVE_THROTTLING_DEFAULT = 60 * 1000;
Review Comment:
Decided to go with using the Duration suggestion. This is now moved to the
LoadBalancer interface (see my reply in other comment above).
--
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]