Jimmy Xiang created HBASE-12206:
-----------------------------------

             Summary: NPE in RSRpcServices
                 Key: HBASE-12206
                 URL: https://issues.apache.org/jira/browse/HBASE-12206
             Project: HBase
          Issue Type: Bug
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang
            Priority: Minor


Looks "leases" is null, which is possible since the region server is not open 
yet. Will add a check.

{noformat}
2014-10-08 08:38:17,985 ERROR [B.defaultRpcServer.handler=0,queue=0,port=20020] 
ipc.RpcServer: Unexpected throwable object
java.lang.NullPointerException
        at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:1957)
        at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:30422)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2020)
        at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
        at 
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:114)
        at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:94)
        at java.lang.Thread.run(Thread.java:724)
2014-10-08 08:38:17,988 DEBUG [B.defaultRpcServer.handler=0,queue=0,port=20020] 
ipc.RpcServer: B.defaultRpcServer.handler=0,queue=0,port=20020: callId: 645 
service: ClientService methodName: Scan size: 22 connection: 10.20.212.36:53810
java.io.IOException
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2054)
        at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
        at 
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:114)
        at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:94)
        at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
        at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:1957)
        at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:30422)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2020)
        ... 4 more
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to