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

phoenix-user | James Taylor | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Issue in connecting with HBase using Hortonworks

    phoenix-user | 3 years ago | James Taylor
    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

    Root Cause Analysis

    1. org.apache.hadoop.hbase.client.NoServerForRegionException

      No server address listed in hbase:meta for region SYSTEM.CATALOG,,1408684006641.0d1ea455127dd4af6a806574b1f42a91. containing row

      at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta()
    2. HBase - Client
      ConnectionManager$HConnectionImplementation.getRegionLocation
      1. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1334)
      2. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1128)
      3. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1097)
      4. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1084)
      5. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getRegionLocation(ConnectionManager.java:904)
      5 frames
    3. Phoenix Core
      PhoenixEmbeddedDriver.connect
      1. org.apache.phoenix.query.ConnectionQueryServicesImpl.getAllTableRegions(ConnectionQueryServicesImpl.java:411)
      2. org.apache.phoenix.query.ConnectionQueryServicesImpl.checkClientServerCompatibility(ConnectionQueryServicesImpl.java:887)
      3. org.apache.phoenix.query.ConnectionQueryServicesImpl.ensureTableCreated(ConnectionQueryServicesImpl.java:831)
      4. org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1058)
      5. org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1156)
      6. org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:422)
      7. org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:183)
      8. org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:226)
      9. org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:908)
      10. org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1453)
      11. org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:131)
      12. org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:112)
      12 frames
    4. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:187)
      2 frames
    5. Phoenix Core
      PhoenixRuntime.main
      1. org.apache.phoenix.util.PhoenixRuntime.main(PhoenixRuntime.java:197)
      1 frame