[
https://issues.apache.org/jira/browse/PHOENIX-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163533#comment-15163533
]
Mujtaba Chohan commented on PHOENIX-2713:
-----------------------------------------
Stack
{code}
org.apache.phoenix.schema.ColumnNotFoundException: ERROR 504 (42703): Undefined
column. columnName=UPDATE_CACHE_FREQUENCY
at org.apache.phoenix.schema.PTableImpl.getColumn(PTableImpl.java:670)
at
org.apache.phoenix.compile.FromCompiler$SingleTableColumnResolver.resolveColumn(FromCompiler.java:362)
at
org.apache.phoenix.compile.UpsertCompiler.compile(UpsertCompiler.java:385)
at
org.apache.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.compilePlan(PhoenixStatement.java:575)
at
org.apache.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.compilePlan(PhoenixStatement.java:563)
at
org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:328)
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.execute(PhoenixStatement.java:242)
at
org.apache.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:172)
at
org.apache.phoenix.jdbc.PhoenixPreparedStatement.execute(PhoenixPreparedStatement.java:177)
at
org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2087)
at
org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:828)
at
org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:183)
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$13.call(ConnectionQueryServicesImpl.java:2389)
at
org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2244)
at
org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
at
org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2244)
at
org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:233)
at
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:135)
at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:202)
{code}
> Backward compatibility fails with CNF exception with 4.7 client and server
> when upgraded from 4.6
> -------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-2713
> URL: https://issues.apache.org/jira/browse/PHOENIX-2713
> Project: Phoenix
> Issue Type: Bug
> Reporter: Mujtaba Chohan
> Assignee: James Taylor
> Fix For: 4.7.0
>
>
> Backward compatibility fails with CNF exception with 4.7 client and server
> when upgraded from 4.6.
> Phoenix upgrade sequence:
> 4.6 client -> 4.6 server
> 4.6 client -> 4.7 server
> 4.7 client -> 4.7 server
> {code}
> ERROR 504 (42703): Undefined column. columnName=UPDATE_CACHE_FREQUENCY
> (state=42703,code=504)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)