You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/05/21 18:10:44 UTC

[jira] [Commented] (HBASE-10761) StochasticLoadBalancer still uses SimpleLoadBalancer's needBalance logic

    [ https://issues.apache.org/jira/browse/HBASE-10761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004843#comment-14004843 ] 

Andrew Purtell commented on HBASE-10761:
----------------------------------------

Where are we on this issue?

> StochasticLoadBalancer still uses SimpleLoadBalancer's needBalance logic
> ------------------------------------------------------------------------
>
>                 Key: HBASE-10761
>                 URL: https://issues.apache.org/jira/browse/HBASE-10761
>             Project: HBase
>          Issue Type: Bug
>          Components: Balancer
>    Affects Versions: 0.98.0
>            Reporter: Victor Xu
>             Fix For: 0.99.0, 0.98.3
>
>         Attachments: HBASE_10761.patch, HBASE_10761_v2.patch
>
>
> StochasticLoadBalancer has become the default balancer since 0.98.0. But its balanceCluster method still uses the BaseLoadBalancer.needBalance() which is originally designed for SimpleLoadBalancer. It's all based on the number of regions on the regionservers.
> This can cause such a problem: when the cluster has some Hot Spot Region, the balance process may not be triggered because the numbers of regions on the RegionServers are averaged.



--
This message was sent by Atlassian JIRA
(v6.2#6252)