[
https://issues.apache.org/jira/browse/HBASE-10620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922949#comment-13922949
]
Enis Soztutar commented on HBASE-10620:
---------------------------------------
Before commit though, can we change it so that the Cluster object is
constructed only once? It is a relatively costly operation. in
SLB.balanceCluster() we construct the Cluster object after calling
needsBalance(). Maybe we should change needsBalance() to take Cluster instead
of ClusterLoadState.
> LoadBalancer.needsBalance() should check for co-located region replicas as
> well
> -------------------------------------------------------------------------------
>
> Key: HBASE-10620
> URL: https://issues.apache.org/jira/browse/HBASE-10620
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Attachments: 10620-1.txt, 10620-2.txt
>
>
> This is a left over TODO from reviews of HBASE-10351.
> LB.needsBalance() does some basic checking before running the LB.balance()
> method. We need to check whether there are co-located regions in this method
> so that the balancer can increase availability.
--
This message was sent by Atlassian JIRA
(v6.2#6252)