[ https://issues.apache.org/jira/browse/HBASE-25894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347234#comment-17347234 ]
Duo Zhang commented on HBASE-25894: ----------------------------------- The url you given for your version is 404 for me... Anyway, thank your for your suggestion. I also used the same trick in my PR, which is only calcuate two region servers in regionMoved instead of always calculate all region servers in cost. https://github.com/apache/hbase/pull/3276/files#diff-a4227fe781c5959bbd3118dd472e28cf29d5641fee3dc2880537a42228235c8c You can see the PR here. Thanks. > Improve the performance for region load and region count related cost > functions > ------------------------------------------------------------------------------- > > Key: HBASE-25894 > URL: https://issues.apache.org/jira/browse/HBASE-25894 > Project: HBase > Issue Type: Sub-task > Components: Balancer, Performance > Reporter: Duo Zhang > Assignee: Duo Zhang > Priority: Major > Fix For: 3.0.0-alpha-1, 2.5.0 > > > For a large cluster, we have a lot of regions, so computing the whole cost > will be expensive. We should try to remove the unnecessary calculation as > much as possible. -- This message was sent by Atlassian Jira (v8.3.4#803005)