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. at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLEx ceptionCode.java:309) at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionI nfo.java:133) at org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerComp atibility(ConnectionQueryServicesImpl.java:931) at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(Co nnectionQueryServicesImpl.java:830) at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(Connectio nQueryServicesImpl.java:1057) at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClien t.java:1156) at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:4 22) at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompil er.java:183) at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement. java:226) at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.ja va:908) at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryS ervicesImpl.java:1452) at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDr iver.java:131) at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDrive r.java:112)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via Unknown by Guo, Ying Y,
  • via Unknown by Guo, Ying Y,
  • Stack trace

    • 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. at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLEx ceptionCode.java:309) at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionI nfo.java:133) at org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerComp atibility(ConnectionQueryServicesImpl.java:931) at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(Co nnectionQueryServicesImpl.java:830) at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(Connectio nQueryServicesImpl.java:1057) at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClien t.java:1156) at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:4 22) at org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompil er.java:183) at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement. java:226) at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.ja va:908) at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryS ervicesImpl.java:1452) at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDr iver.java:131) at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDrive r.java:112) at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4650)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.