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:

Apache's JIRA Issue Tracker | Mujtaba Chohan | 2 years ago
  1. 0

    When region server serving SYSTEM.CATALOG is down or when all region servers are down, phoenix throws 'Incompatible jar detected' exception which is misleading and wraps 'Cannot get all table region exception'. Stack: 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: at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:333) at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:133) at org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:902) at org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:799) at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1107) at org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:114) at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1315) .... java.sql.SQLException: ERROR 1102 (XCL02): Cannot get all table regions at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:333) at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:133) at org.apache.phoenix.query.ConnectionQueryServicesImpl.getAllTableRegions(ConnectionQueryServicesImpl.java:409) at org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:857) ... 191 shared with parent

    Apache's JIRA Issue Tracker | 2 years ago | Mujtaba Chohan
    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:
  2. 0

    Re: Issue in connecting with HBase using Hortonworks

    apache.org | 11 months ago
    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: ERROR 1102 (XCL02): Cannot get all table regions
  3. 0

    hbase伪分布式下如何安装phoenix? - 问题 - DB2中国社区

    db2china.net | 11 months ago
    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: ERROR 1012 (42M03): Table undefined. tableName=SYSTEM.CATALOG
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Phoenix-4 not working with HBase-0.98 and Hadoop-2.2.0 - Yuzhang Han - org.apache.phoenix.user - MarkMail

    markmail.org | 4 months ago
    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)
  6. 0

    Re: CsvBulkUpload not working after upgrade to 4.6

    phoenix-user | 12 months ago | Gabriel Reid
    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: > org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos$MetaRegionServer.hasState()Z at > org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:396) at > org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:145) at > org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:1000) at > org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:879) at > org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1225) at > org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:113) at > org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2013) at > org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:785) at > org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:186) at > org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:319) at > org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:311) at > org.apache.phoenix.call.CallRunner.run(CallRunner.java:53) at > org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:309) at > org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1368) at > org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1929) at > org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:1898) at > org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78) at > org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1898) 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 > java.sql.DriverManager.getConnection(DriverManager.java:571) at > java.sql.DriverManager.getConnection(DriverManager.java:187) at > org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:301) at > org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:292) at > org.apache.phoenix.mapreduce.CsvBulkLoadTool.loadData(CsvBulkLoadTool.java:211) at > org.apache.phoenix.mapreduce.CsvBulkLoadTool.run(CsvBulkLoadTool.java:184)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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:

      at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException()
    2. Phoenix Core
      MetaDataClient.createTableInternal
      1. org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:333)
      2. org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:133)
      3. org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:902)
      4. org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:799)
      5. org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1107)
      6. org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:114)
      7. org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1315)
      7 frames