You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "niuyulin (Jira)" <ji...@apache.org> on 2020/03/06 07:22:00 UTC
[jira] [Created] (HBASE-23944) The method setClusterLoad of
SimpleLoadBalancer is incorrect when balance by table
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)