[ 
https://issues.apache.org/jira/browse/HBASE-25884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Viraj Jasani resolved HBASE-25884.
----------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

Thanks for the review [~stack] [~zhangduo] [~mnpoonia].

> NPE while getting Balancer decisions
> ------------------------------------
>
>                 Key: HBASE-25884
>                 URL: https://issues.apache.org/jira/browse/HBASE-25884
>             Project: HBase
>          Issue Type: Task
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.3
>
>
> 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.
>  
> {code:java}
> 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
> {code}
>  



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

Reply via email to