You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bo Cui (Jira)" <ji...@apache.org> on 2020/09/24 01:38:00 UTC

[jira] [Created] (HBASE-25093) the RSGroupBasedLoadBalancer#retainAssignment throws NPE

Bo Cui created HBASE-25093:
------------------------------

             Summary: the RSGroupBasedLoadBalancer#retainAssignment throws NPE
                 Key: HBASE-25093
                 URL: https://issues.apache.org/jira/browse/HBASE-25093
             Project: HBase
          Issue Type: Bug
          Components: rsgroup
    Affects Versions: 2.2.3, 2.3.1, 3.0.0-alpha-1
            Reporter: Bo Cui


when BaseLoadBalancer#
https://github.com/apache/hbase/blob/8bfa2cb2eedcf050b26a28961e1b77dbf3cd8c95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java#L1433

If the result of the BaseLoadBalancer#retainAssignment is null, the RSGroupBasedLoadBalancer#retainAssignment will throw NPE.

https://github.com/apache/hbase/blob/8bfa2cb2eedcf050b26a28961e1b77dbf3cd8c95/hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java#L206



--
This message was sent by Atlassian Jira
(v8.3.4#803005)