catchen created PHOENIX-4293: -------------------------------- Summary: upgrade phoenix from 4.9.0 to 4.12.0,minor version upgrade exception Key: PHOENIX-4293 URL: https://issues.apache.org/jira/browse/PHOENIX-4293 Project: Phoenix Issue Type: Bug Affects Versions: 4.12.0 Environment: hadoop:2.6.5 HBase:1.2.4 phoenix:4.12.0 Reporter: catchen
1.after put phoenix-4.12.0-HBase-1.2-server.jar into hbase lib,at the same time ,delete old phoenix server jar ,then restart regionser and master 2.replace phoenix-4.12.0-HBase-1.2-client.jar of phoenix client 3.use crontab ways import data into phoenix,but get the error like bellow(this error sporadic) ----------------------------------------------------------------------------------------------------------------------- Error: Cluster is being concurrently upgraded from 4.11.x to 4.12.x. Please retry establishing connection. (state=INT12,code=2010)[m org.apache.phoenix.exception.UpgradeInProgressException: Cluster is being concurrently upgraded from 4.11.x to 4.12.x. Please retry establishing connection. at org.apache.phoenix.query.ConnectionQueryServicesImpl.acquireUpgradeMutex(ConnectionQueryServicesImpl.java:3173) at org.apache.phoenix.query.ConnectionQueryServicesImpl.upgradeSystemTables(ConnectionQueryServicesImpl.java:2567) at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:2440) at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:2360) at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:76) at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2360) at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:255) at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150) at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221) at sqlline.DatabaseConnection.connect(DatabaseConnection.java:157) at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:203) at sqlline.Commands.close(Commands.java:906) at sqlline.Commands.quit(Commands.java:870) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38) at sqlline.SqlLine.dispatch(SqlLine.java:809) at sqlline.SqlLine.initArgs(SqlLine.java:617) at sqlline.SqlLine.begin(SqlLine.java:661) at sqlline.SqlLine.start(SqlLine.java:398) at sqlline.SqlLine.main(SqlLine.java:291) ERROR: exitcode [2] -- This message was sent by Atlassian JIRA (v6.4.14#64029)