You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Mujtaba Chohan (JIRA)" <ji...@apache.org> on 2016/01/06 20:10:39 UTC

[jira] [Created] (PHOENIX-2572) Backward compatibility fails between v4.5.0 and 4.7 snapshot

Mujtaba Chohan created PHOENIX-2572:
---------------------------------------

             Summary: Backward compatibility fails between v4.5.0 and 4.7 snapshot
                 Key: PHOENIX-2572
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2572
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.7.0
            Reporter: Mujtaba Chohan
             Fix For: 4.7.0


Server is upgraded to Phoenix 4.7 snapshot while client remains on 4.5.0. After this client is also upgraded to 4.7, on connection:

{code}
org.apache.phoenix.schema.NewerTableAlreadyExistsException: ERROR 1013 (42M04): Table already exists. tableName=SYSTEM.CATALOG
> 	at org.apache.phoenix.schema.MetaDataClient.processMutationResult(MetaDataClient.java:2496)
> 	at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:2834)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableAddColumnStatement$1.execute(PhoenixStatement.java:974)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:335)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:323)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:321)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1274)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.addColumn(ConnectionQueryServicesImpl.java:2258)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.access$600(ConnectionQueryServicesImpl.java:209)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2428)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2301)
> 	at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2301)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:218)
> 	at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:131)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)