[ 
https://issues.apache.org/jira/browse/HBASE-25767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318807#comment-17318807
 ] 

Duo Zhang commented on HBASE-25767:
-----------------------------------

OK, I think the problem is CandidateGenerator.getRandomIterationOrder is 
extremely slow when the number of regions is very large.

Let me try to change the algorithm.

> The masterServices field in LocalityBasedCandidateGenerator is useless
> ----------------------------------------------------------------------
>
>                 Key: HBASE-25767
>                 URL: https://issues.apache.org/jira/browse/HBASE-25767
>             Project: HBase
>          Issue Type: Improvement
>          Components: Balancer
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> Similar to HBASE-25759, it is just used to test whether we should skip 
> calculation, but in production masterServices will never be null.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to