[ https://issues.apache.org/jira/browse/HBASE-23338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981333#comment-16981333 ]
Karthik Palanisamy commented on HBASE-23338: -------------------------------------------- Let me double-check again. Turns green after service reboot. > Prevent NPE running rsgroup balancer > ------------------------------------ > > Key: HBASE-23338 > URL: https://issues.apache.org/jira/browse/HBASE-23338 > Project: HBase > Issue Type: Bug > Components: rsgroup > Affects Versions: 3.0.0 > Reporter: Karthik Palanisamy > Assignee: Karthik Palanisamy > Priority: Major > > I think we should prevent NPE even if user trigger balancer on rsgroup that > contains only a single regionserver. Sometimes users trigger balancer on all > groups even without knowing group info. > {code:java} > 2019-11-24 > 22:50:29,868 ERROR [RpcServer.default.FPBQ.Fifo.handler=22,queue=1,port=16000] > ipc.RpcServer: Unexpected throwable object > java.lang.NullPointerException > {code} > {code:java} > hbase(main):002:0> balance_rsgroup 'shva' > ERROR: java.io.IOException at > org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:433) at > org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:133) at > org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:338) at > org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:318)Caused > by: java.lang.NullPointerException > For usage try 'help "balance_rsgroup"'{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)