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

Hudson commented on PHOENIX-875:
--------------------------------

SUCCESS: Integrated in Apache Phoenix - Branch:master #192 (See 
[https://builds.apache.org/job/Phoenix/192/])
PHOENIX-875: NPE when running end2end tests against a live cluster (jzhong: rev 
8fb95998121d4f6e0330912ea5244dd9a8877045)
* 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java


> 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
>             Fix For: 3.0.0, 4.0.0, 5.0.0
>
>         Attachments: phoenix-875-v2.patch, 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)

Reply via email to