You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/04/10 14:24:00 UTC

[jira] [Created] (HBASE-25759) The master services field in LocalityBasedCostFunction is never used

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)