org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0, localhost): java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class

Stack Overflow | user2782405 | 4 months ago
  1. 0

    Error occurred when retrieving data from cassandra in spark shell

    Stack Overflow | 4 months ago | user2782405
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0, localhost): java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
  2. 0

    A weird exception using sbt-pack and scala 2.10.ClassNotFoundException: scala.collection.GenTraversableOnce

    Stack Overflow | 9 months ago | aironman
    java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
  3. 0

    Spark 2.0 Cassandra Scala Shell Error: java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class

    Stack Overflow | 3 months ago | user896993
    java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class

    Stack Overflow | 1 month ago | Prajakta Dumbre
    java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
  6. 0

    intellij idea - Running spark scala example fails - Stack Overflow

    xluat.com | 1 year ago
    java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class

  1. andyglick 2 times, last 3 days ago
  2. richard77 1 times, last 6 days ago
  3. musketyr 2 times, last 6 days ago
  4. michallos 2 times, last 6 days ago
  5. batwalrus76 2 times, last 7 days ago
67 more registered users
28 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.ClassNotFoundException

    scala.collection.GenTraversableOnce$class

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. spark-cassandra-connector
    CassandraTableScanRDD.compute
    1. com.datastax.spark.connector.util.CountingIterator.<init>(CountingIterator.scala:4)
    2. com.datastax.spark.connector.rdd.CassandraTableScanRDD.compute(CassandraTableScanRDD.scala:336)
    2 frames
  4. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:319)
    2. org.apache.spark.rdd.RDD.iterator(RDD.scala:283)
    3. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:70)
    4. org.apache.spark.scheduler.Task.run(Task.scala:85)
    5. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
    5 frames
  5. 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