[ 
https://issues.apache.org/jira/browse/HBASE-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949951#comment-13949951
 ] 

Jimmy Xiang commented on HBASE-10853:
-------------------------------------

I think it's the right approach. This should happen before the RS reports to 
the master.

> NPE in RSRpcServices.get on trunk
> ---------------------------------
>
>                 Key: HBASE-10853
>                 URL: https://issues.apache.org/jira/browse/HBASE-10853
>             Project: HBase
>          Issue Type: Bug
>          Components: IPC/RPC
>            Reporter: stack
>         Attachments: 10853.txt
>
>
> You seen this one [~jxiang]?
> Here is the exception:
> {code}
> 2014-03-27 11:38:16,649 ERROR [RpcServer.handler=5,port=16020] ipc.RpcServer: 
> Unexpected throwable object
> java.lang.NullPointerException
>         at 
> org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:1577)
>         at 
> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29493)
>         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2002)
>         at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:98)
>         at 
> org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:162)
>         at 
> org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:38)
>         at 
> org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:110)
>         at java.lang.Thread.run(Thread.java:744)
> {code}
> Code looks like this on trunk:
> {code}
> 1576     } finally {
> 1577       regionServer.metricsRegionServer.updateGet(
> 1578         EnvironmentEdgeManager.currentTimeMillis() - before);
> 1579     }
> 1580   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to