Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
With HBASE-25790 in place, we have new balancer queue: BalancerRejection in addition to BalancerDecision. However, now while retrieving records from ring buffer, only if exactly one of the ring buffers are enabled, we get NPE while retrieving the other one. Ideally it should return empty results.
Result of get_balancer_decision when only rejection queue is enabled but not the balancer decision one.
2021-05-02T21:22:31,830 WARN [RPCClient-NioEventLoopGroup-1-2] client.AsyncRpcRetryingCaller: Call to master failed, tries = 6, maxAttempts = 7, timeout = 1200000 ms, time elapsed = 2360 ms2021-05-02T21:22:31,830 WARN [RPCClient-NioEventLoopGroup-1-2] client.AsyncRpcRetryingCaller: Call to master failed, tries = 6, maxAttempts = 7, timeout = 1200000 ms, time elapsed = 2360 msjava.io.IOException: java.io.IOException at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:463) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:135) 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 at org.apache.hadoop.hbase.master.MasterRpcServices.getBalancerDecisions(MasterRpcServices.java:3432) at org.apache.hadoop.hbase.master.MasterRpcServices.getLogEntries(MasterRpcServices.java:3395) at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:395) ... 3 more
Attachments
Attachments
Issue Links
- links to
Thanks for the review Michael Stack Duo Zhang Aman Poonia.