Jeffrey Zhong created PHOENIX-875:
-------------------------------------
Summary: 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
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)