You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/03/18 23:50:44 UTC

[jira] [Updated] (PHOENIX-875) NPE when running end2end tests against a live cluster

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

Jeffrey Zhong updated PHOENIX-875:
----------------------------------

    Attachment: phoenix-875.patch

Attached to a wrong JIRA. Re-attach the patch. [~jamestaylor] could you please review it? Thanks.

> NPE when running end2end tests against a live cluster
> -----------------------------------------------------
>
>                 Key: PHOENIX-875
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-875
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>         Attachments: phoenix-875.patch
>
>
> Below is the error stack trace. The cause is that MetaDataEndpointImpl#loadTable doesn't check if a table is a deleted marker after the line {code}PTable table = metaDataCache.getIfPresent(cacheKey);{code}.
> {code}
> 2014-03-18 10:54:06,633 ERROR [RpcServer.handler=8,port=60020] coprocessor.MetaDataEndpointImpl: dropTable failed
> java.lang.NullPointerException
>         at org.apache.phoenix.schema.PTableImpl.toProto(PTableImpl.java:892)
>         at org.apache.phoenix.coprocessor.MetaDataProtocol$MetaDataMutationResult.toProto(MetaDataProtocol.java:184)
>         at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.dropTable(MetaDataEndpointImpl.java:934)
>         at org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:6565)
>         at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5489)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3297)
>         at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:28865)
>         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2008)
>         at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:92)
>         at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:160)
>         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:722)
> {code}



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