You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2013/04/23 19:17:16 UTC

[jira] [Resolved] (HBASE-8391) StochasticLoadBalancer doesn't call needsBalance

     [ https://issues.apache.org/jira/browse/HBASE-8391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-8391.
---------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Thanks for the review guys, I committed it to 0.95 and trunk after running TestStochasticLoadBalancer and testing that it does the right thing on a cluster.
                
> StochasticLoadBalancer doesn't call needsBalance
> ------------------------------------------------
>
>                 Key: HBASE-8391
>                 URL: https://issues.apache.org/jira/browse/HBASE-8391
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.98.0, 0.95.1
>
>         Attachments: HBASE-8391.patch
>
>
> StochasticLoadBalancer doesn't call BaseLoadBalancer.needsBalance so it always try to compute a move even if the cluster is correctly balanced. While looking at that code I figured I could refactor the basic checks into BaseLoadBalancer. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira