You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ray Mattingly (Jira)" <ji...@apache.org> on 2025/01/12 21:14:00 UTC

[jira] [Created] (HBASE-29073) StochasticLoadBalancer has NPE potential for sumMultiplier field

Ray Mattingly created HBASE-29073:
-------------------------------------

             Summary: StochasticLoadBalancer has NPE potential for sumMultiplier field
                 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


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)