[ https://issues.apache.org/jira/browse/HBASE-23944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang resolved HBASE-23944. ------------------------------------ Resolution: Fixed > The method setClusterLoad of SimpleLoadBalancer is incorrect when balance by > table > ----------------------------------------------------------------------------------- > > Key: HBASE-23944 > URL: https://issues.apache.org/jira/browse/HBASE-23944 > Project: HBase > Issue Type: Bug > Components: Balancer > Affects Versions: 2.2.2 > Reporter: niuyulin > Assignee: niuyulin > Priority: Major > Fix For: 3.0.0, 2.3.0, 2.2.4, 2.1.10 > > > now if in parameter clusterLoad is by table, for example > {code:java} > table1=> > server1=>[table1,region1] > server2=>[] > table2=> > server1=>[table2,region1] > server2=>[] > {code} > then, the member variable serverLoadList is: > {code:java} > [{server1, load 1}{server2, load 0}{server1, load 1} {server2, load 0}] > {code} > the cluster will be considered balanced in method overallNeedsBalance -- This message was sent by Atlassian Jira (v8.3.4#803005)