phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas D'Silva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-2099) Backward Compatibility - Concurrent modification error on connect
Date Thu, 09 Jul 2015 20:13:04 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas D'Silva updated PHOENIX-2099:
------------------------------------
    Attachment: PHOENIX-2099.v2.patch

[~samarthjain]

I tried adding this to PTableProto as per [~jamestaylor] suggestion
(uploaded another patch)

{code}
+  optional int32 baseColumnCount = 25;
{code}

It then fails for another reason
java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: This is
supposed to be overridden by subclasses.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at org.apache.hadoop.hbase.client.HTable.coprocessorService(HTable.java:1641)
at org.apache.hadoop.hbase.client.HTable.coprocessorService(HTable.java:1598)
at org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:959)
Error: ERROR 2006 (INT08): Incompatible jars detected between client and server. Ensure that
phoenix.jar is put on the classpath of HBase in every region server: This is supposed to be
overridden by subclasses. (state=INT08,code=2006)
java.sql.SQLException: ERROR 2006 (INT08): Incompatible jars detected between client and server.
Ensure that phoenix.jar is put on the classpath of HBase in every region server: This is supposed
to be overridden by subclasses.


> Backward Compatibility - Concurrent modification error on connect
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-2099
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2099
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.5.0
>            Reporter: Mujtaba Chohan
>            Assignee: Samarth Jain
>         Attachments: PHOENIX-2099.patch, PHOENIX-2099.v2.patch
>
>
> With client/server on v4.3.0. Create few tables. Upgrade client/server to latest 4.x-0.98
and connect:
> Exception:
> Error: ERROR 301 (23000): Concurrent modification to table. tableName=SYSTEM.CATALOG
(state=23000,code=301)
> org.apache.phoenix.schema.ConcurrentTableMutationException: ERROR 301 (23000): Concurrent
modification to table. tableName=SYSTEM.CATALOG
> 	at org.apache.phoenix.schema.MetaDataClient.processMutationResult(MetaDataClient.java:2223)
> 	at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:2518)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableAddColumnStatement$1.execute(PhoenixStatement.java:893)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:303)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:295)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:293)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1189)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.addColumn(ConnectionQueryServicesImpl.java:1836)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.access$600(ConnectionQueryServicesImpl.java:174)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1958)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1868)
> 	at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1868)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:180)
> 	at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:132)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:151)
> 	at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4650)
> 	at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4701)
> Also getting the exception when connecting with v4.3.0 on client and latest 4.x-0.98
on server:
> 0: jdbc:phoenix:localhost> ALTER TABLE T1 ADD TESTCOL1 VARCHAR, TESTCOL2 INTEGER;
> Error: ERROR 301 (23000): Concurrent modification to table. tableName=T1 (state=23000,code=301)



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

Mime
View raw message