java.lang.IllegalStateException: Detected Guava issue #1635 which indicates that a version of Guava less than 16.01 is in use. This introduces codec resolution issues and potentially other incompatibility issues in the driver. Please upgrade to Guava 16.01 or later.

Stack Overflow | Ravi Ramadoss | 10 months 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

    cassandra spark connector works from spark shell but fails in zeppelin

    Stack Overflow | 10 months ago | Ravi Ramadoss
    java.lang.IllegalStateException: Detected Guava issue #1635 which indicates that a version of Guava less than 16.01 is in use. This introduces codec resolution issues and potentially other incompatibility issues in the driver. Please upgrade to Guava 16.01 or later.
  2. 0

    GitHub comment 1#205514436

    GitHub | 1 year ago | ishumishra
    java.lang.IllegalStateException: Detected Guava issue #1635 which indicates that a version of Guava less than 16.01 is in use. This introduces codec resolution issues and potentially other incompatibility issues in the driver. Please upgrade to Guava 16.01 or later.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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.lang.IllegalStateException

      Detected Guava issue #1635 which indicates that a version of Guava less than 16.01 is in use. This introduces codec resolution issues and potentially other incompatibility issues in the driver. Please upgrade to Guava 16.01 or later.

      at com.datastax.driver.core.SanityChecks.checkGuava()
    2. DataStax Java Driver for Apache Cassandra - Core
      Cluster.<clinit>
      1. com.datastax.driver.core.SanityChecks.checkGuava(SanityChecks.java:62)
      2. com.datastax.driver.core.SanityChecks.check(SanityChecks.java:36)
      3. com.datastax.driver.core.Cluster.<clinit>(Cluster.java:67)
      3 frames
    3. spark-cassandra-connector
      CassandraTableScanRDD.getPartitions
      1. com.datastax.spark.connector.cql.DefaultConnectionFactory$.clusterBuilder(CassandraConnectionFactory.scala:35)
      2. com.datastax.spark.connector.cql.DefaultConnectionFactory$.createCluster(CassandraConnectionFactory.scala:87)
      3. com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:153)
      4. com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:148)
      5. com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:148)
      6. com.datastax.spark.connector.cql.RefCountedCache.createNewValueAndKeys(RefCountedCache.scala:31)
      7. com.datastax.spark.connector.cql.RefCountedCache.acquire(RefCountedCache.scala:56)
      8. com.datastax.spark.connector.cql.CassandraConnector.openSession(CassandraConnector.scala:81)
      9. com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:109)
      10. com.datastax.spark.connector.cql.CassandraConnector.withClusterDo(CassandraConnector.scala:120)
      11. com.datastax.spark.connector.cql.Schema$.fromCassandra(Schema.scala:254)
      12. com.datastax.spark.connector.rdd.CassandraTableRowReaderProvider$class.tableDef(CassandraTableRowReaderProvider.scala:51)
      13. com.datastax.spark.connector.rdd.CassandraTableScanRDD.tableDef$lzycompute(CassandraTableScanRDD.scala:59)
      14. com.datastax.spark.connector.rdd.CassandraTableScanRDD.tableDef(CassandraTableScanRDD.scala:59)
      15. com.datastax.spark.connector.rdd.CassandraTableRowReaderProvider$class.verify(CassandraTableRowReaderProvider.scala:146)
      16. com.datastax.spark.connector.rdd.CassandraTableScanRDD.verify(CassandraTableScanRDD.scala:59)
      17. com.datastax.spark.connector.rdd.CassandraTableScanRDD.getPartitions(CassandraTableScanRDD.scala:143)
      17 frames
    4. Spark
      RDD$$anonfun$partitions$2.apply
      1. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
      2. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
      2 frames
    5. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:120)
      1 frame
    6. Spark
      RDD.take
      1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
      2. org.apache.spark.rdd.RDD$$anonfun$take$1.apply(RDD.scala:1293)
      3. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
      4. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
      5. org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
      6. org.apache.spark.rdd.RDD.take(RDD.scala:1288)
      6 frames
    7. spark-cassandra-connector
      CassandraRDD.take
      1. com.datastax.spark.connector.rdd.CassandraRDD.take(CassandraRDD.scala:121)
      2. com.datastax.spark.connector.rdd.CassandraRDD.take(CassandraRDD.scala:122)
      2 frames
    8. Spark
      RDD.first
      1. org.apache.spark.rdd.RDD$$anonfun$first$1.apply(RDD.scala:1328)
      2. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
      3. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
      4. org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
      5. org.apache.spark.rdd.RDD.first(RDD.scala:1327)
      5 frames
    9. Unknown
      $iwC.<init>
      1. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:42)
      2. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:47)
      3. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:49)
      4. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:51)
      5. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:53)
      6. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:55)
      7. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:57)
      8. $iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:59)
      9. $iwC$$iwC$$iwC$$iwC.<init>(<console>:61)
      10. $iwC$$iwC$$iwC.<init>(<console>:63)
      11. $iwC$$iwC.<init>(<console>:65)
      12. $iwC.<init>(<console>:67)
      12 frames