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

NPE in RSRpcServices

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.1
    • None
    • None
    • Reviewed

    Description

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

      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
      

      Attachments

        1. hbase-12206.patch
          1 kB
          Jimmy Xiang

        Activity

          People

            jxiang Jimmy Xiang
            jxiang Jimmy Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: