Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25884

NPE while getting Balancer decisions

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.5.0, 2.4.3
    • 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

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: