Duo Zhang created HBASE-25759:
---------------------------------
Summary: The master services field in LocalityBasedCostFunction is
never used
Key: HBASE-25759
URL: https://issues.apache.org/jira/browse/HBASE-25759
Project: HBase
Issue Type: Improvement
Components: Balancer
Reporter: Duo Zhang
Assignee: Duo Zhang
We just use it to test whether we should do the calculation.
But in fact, it should never be null when we arrive here. Maybe it is because
in test we may skip setting the master services but I think we should just skip
balancing in the balancer, not in the cost function.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)