niuyulin created HBASE-23944:
--------------------------------
Summary: 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
Fix For: 3.0.0, 2.2.2
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)