You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/03/06 08:33:00 UTC
[jira] [Updated] (HBASE-23944) The method setClusterLoad of
SimpleLoadBalancer is incorrect when balance by table
[ https://issues.apache.org/jira/browse/HBASE-23944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang updated HBASE-23944:
------------------------------
Fix Version/s: (was: 2.2.2)
2.2.5
> 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.2.5
>
>
> 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)