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

Ray Mattingly resolved HBASE-29073.
-----------------------------------
    Fix Version/s: 4.0.0-alpha-1
                   2.7.0
                   3.0.0-beta-2
                   2.6.3
     Release Note: Fixes a bug which caused the balancer to always run on 
HMaster startup.
       Resolution: Fixed

> StochasticLoadBalancer will always run the balancer on startup because of 
> uninitialized sumMultiplier
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-29073
>                 URL: https://issues.apache.org/jira/browse/HBASE-29073
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.6.1
>            Reporter: Ray Mattingly
>            Assignee: Ray Mattingly
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2, 2.6.3
>
>
> In the StochasticLoadBalancer we use [the 
> sumMultiplier|https://github.com/apache/hbase/blob/master/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java#L389-L407]
>  field before it is certainly initialized. We should use a local field 
> instead which will be less fragile



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to