phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinmay Kulkarni (Jira)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-5533) Creating a view or index with a 4.14 client and 4.15.0 server fails with a NullPointerException
Date Sat, 19 Oct 2019 01:18:00 GMT
Chinmay Kulkarni created PHOENIX-5533:
-----------------------------------------

             Summary: Creating a view or index with a 4.14 client and 4.15.0 server fails
with a NullPointerException
                 Key: PHOENIX-5533
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5533
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.15.0, 5.1.0
            Reporter: Chinmay Kulkarni
            Assignee: Chinmay Kulkarni
             Fix For: 4.15.0, 5.1.0


*When calling "CREATE VIEW":*

{code:java}
Caused by: java.lang.NullPointerException
	at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(MetaDataEndpointImpl.java:1735)
	... 9 more

	at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:144)
	at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1464)
	at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1428)
	at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1613)
	at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2731)
	at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:1115)
	at org.apache.phoenix.compile.CreateTableCompiler$1.execute(CreateTableCompiler.java:192)
	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:410)
	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:393)
	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:392)
	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:380)
	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1829)
{code}

*Similarly when calling "CREATE INDEX"*

{code:java}
2019-10-18 16:06:26,569 ERROR
[RpcServer.FifoWFPBQ.default.handler=255,queue=21,port=16201]
coprocessor.MetaDataEndpointImpl: createTable failed
java.lang.NullPointerException
at
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(MetaDataEndpointImpl.java:1758)
at
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:17218)
at
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8270)
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2207)
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2189)
at
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:35076)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2373)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168)
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message