You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Lars Hofhansl (Jira)" <ji...@apache.org> on 2019/10/20 01:25:00 UTC
[jira] [Issue Comment Deleted] (PHOENIX-5533) Creating a view or
index with a 4.14 client and 4.15.0 server fails with a
NullPointerException
[ https://issues.apache.org/jira/browse/PHOENIX-5533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl updated PHOENIX-5533:
-----------------------------------
Comment: was deleted
(was: {color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12983532/5533-4.x-HBase-1.5.txt
against 4.x-HBase-1.5 branch at commit b4471384bcdfbf421e1625960860361ecfaeaf6b.
ATTACHMENT ID: 12983532
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:red}-1 lineLengths{color}. The patch introduces the following lines longer than 100:
+ parentPhysicalSchemaTableNames[2], clientTimeStamp, clientVersion);
+ && Bytes.compareTo(parentSchemaTableNames[2], parentPhysicalSchemaTableNames[2]) != 0) {
+ doGetTable(tenantIdBytes, parentSchemaName, parentTableName, clientTimeStamp, null,
{color:red}-1 core tests{color}. The patch failed these unit tests:
Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/3043//testReport/
Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/3043//console
This message is automatically generated.)
> 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: Lars Hofhansl
> Priority: Blocker
> Fix For: 4.15.0, 5.1.0
>
> Attachments: 5533-4.x-HBase-1.5.txt
>
>
> *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)