java.lang.NoSuchMethodError: com.datastax.driver.core.ResultSet.fetchMoreResults()Lshade/com/datastax/spark/connector/google/common/util/concurrent/ListenableFuture;

Stack Overflow | mindon | 4 months ago
  1. 0

    What happens - NoSuchMethodError: com.datastax.driver.core.ResultSet.fetchMoreResults

    Stack Overflow | 4 months ago | mindon
    java.lang.NoSuchMethodError: com.datastax.driver.core.ResultSet.fetchMoreResults()Lshade/com/datastax/spark/connector/google/common/util/concurrent/ListenableFuture;
  2. 0

    Spark 1.3 and Cassandra 3.0 problems with guava

    Stack Overflow | 10 months ago | Dragan Milcevski
    java.io.IOException: Failed to open native connection to Cassandra at {139.19.52.111}:9042
  3. 0

    I'm getting an exception when using Guava dependencies other than 14.0.1. I've tried both shaded/unshaded versions in the pom: {code:xml} <dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> <version>2.1.6</version> <classifier>shaded</classifier> <exclusions> <exclusion> <groupId>io.netty</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-mapping</artifactId> <version>2.1.6</version> <exclusions> <exclusion> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> </exclusion> </exclusions> </dependency> {code} {code:java} Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.util.concurrent.Futures.transform(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; at com.datastax.driver.core.Connection.initAsync(Connection.java:172) at com.datastax.driver.core.Connection$Factory.open(Connection.java:721) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:244) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:190) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:78) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1272) at com.datastax.driver.core.Cluster.init(Cluster.java:158) at com.datastax.driver.core.Cluster.connect(Cluster.java:248) {code}

    DataStax JIRA | 2 years ago | Lucian Mocanu
    java.lang.NoSuchMethodError: com.google.common.util.concurrent.Futures.transform(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 43#107363585

    GitHub | 2 years ago | ultima84
    me.taylorkelly.mywarp.internal.intake.InvocationCommandException: java.lang.reflect.InvocationTargetException
  6. 0

    Cassandra and Java EE

    Stack Overflow | 11 months ago | kinkajou
    java.lang.NoSuchMethodError: com.google.common.util.concurrent.Futures.withFallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureFallback;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;

    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.NoSuchMethodError

      com.datastax.driver.core.ResultSet.fetchMoreResults()Lshade/com/datastax/spark/connector/google/common/util/concurrent/ListenableFuture;

      at com.datastax.spark.connector.rdd.reader.PrefetchingResultSetIterator.maybePrefetch()
    2. spark-cassandra-connector
      PrefetchingResultSetIterator.next
      1. com.datastax.spark.connector.rdd.reader.PrefetchingResultSetIterator.maybePrefetch(PrefetchingResultSetIterator.scala:26)
      2. com.datastax.spark.connector.rdd.reader.PrefetchingResultSetIterator.next(PrefetchingResultSetIterator.scala:39)
      3. com.datastax.spark.connector.rdd.reader.PrefetchingResultSetIterator.next(PrefetchingResultSetIterator.scala:17)
      3 frames
    3. Scala
      Iterator$$anon$12.next
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:409)
      2. scala.collection.Iterator$$anon$11.next(Iterator.scala:409)
      3. scala.collection.Iterator$$anon$12.next(Iterator.scala:444)
      3 frames
    4. spark-cassandra-connector
      CountingIterator.next
      1. com.datastax.spark.connector.util.CountingIterator.next(CountingIterator.scala:16)
      1 frame
    5. Scala
      Iterator$$anon$11.next
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:409)
      1 frame
    6. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:194)
      2. org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:63)
      3. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:79)
      4. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:47)
      5. org.apache.spark.scheduler.Task.run(Task.scala:85)
      6. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
      6 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames