wchevreuil commented on code in PR #8218:
URL: https://github.com/apache/hbase/pull/8218#discussion_r3225097432
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/CacheAwareLoadBalancer.java:
##########
@@ -167,6 +192,23 @@ public void updateClusterMetrics(ClusterMetrics
clusterMetrics) {
updateRegionLoad();
}
+ protected Map<ServerName, Long> getServerBlockCacheFreeBytes() {
Review Comment:
Yeah, these changes are only calculating if there's imbalance considering
cache space and uncached regions. HBASE-30135 will deal with new plans
generation. Once regions are moved, prefetch will run at region opening and
it's the mean for caching the regions. Maybe we should add extra validation for
the prefetch property.
--
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]