[
https://issues.apache.org/jira/browse/HBASE-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949827#comment-13949827
]
stack commented on HBASE-10853:
-------------------------------
regionServer.metricsRegionServer is null in the below:
{code}
1570 } else if (r != null) {
1571 ClientProtos.Result pbr = ProtobufUtil.toResult(r);
1572 builder.setResult(pbr);
1573 }
1574 return builder.build();
1575 } catch (IOException ie) {
1576 throw new ServiceException(ie);
1577 } finally {
1578 LOG.info("regionServer=" + regionServer + " " +
regionServer.metricsRegionServer);
1579 regionServer.metricsRegionServer.updateGet(
1580 EnvironmentEdgeManager.currentTimeMillis() - before);
1581 }
1582 }
{code}
> 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
>
> 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)