Davide Pagano created PHOENIX-2614:
--------------------------------------

             Summary: Wrong message: Outdated jars. The following servers 
require an updated phoenix.jar to be put in the classpath of HBase
                 Key: PHOENIX-2614
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2614
             Project: Phoenix
          Issue Type: Bug
            Reporter: Davide Pagano


I keep getting the following error even if the jars were in the right path. The 
solution was to log in the Ambari dashboard and enable Phoenix SQL from the 
Hbase configuration manager, apparently is disabled by default in the 
Hortonworks Sandbox.



java.sql.SQLException: ERROR 2007 (INT09): Outdated jars. The following servers 
require an updated phoenix.jar to be put in the classpath of HBase: 
region=SYSTEM.CATALOG,,1430790592940.b373f1a6bdddc64c93db38723742c2db., 
hostname=localhost,36811,1430791439073, seqNum=7
at 
org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:386)
at 
org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:145)
at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:994)
at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:867)
at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1213)
at 
org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:112)
at 
org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1902)
at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:744)
at 
org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:186)
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:1236)
at 
org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1891)
at 
org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1860)
at 
org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77)
at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1860)
at 
org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:162)
at 
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:131)
at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:133)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:187)
at org.apache.phoenix.pherf.util.PhoenixUtil.getConnection(PhoenixUtil.java:70)
at org.apache.phoenix.pherf.util.PhoenixUtil.getConnection(PhoenixUtil.java:56)
at org.apache.phoenix.pherf.util.PhoenixUtil.getConnection(PhoenixUtil.java:52)
at 
org.apache.phoenix.pherf.schema.SchemaReader.applySchema(SchemaReader.java:65)
at org.apache.phoenix.pherf.DataIngestTest.generateData(DataIngestTest.java:52)



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

Reply via email to