java.lang.ClassCastException: org.formcept.wisdom.RFMCKey cannot be cast to java.lang.Comparable at org.spark-project.guava.collect.NaturalOrdering.compare(NaturalOrdering.java:28)

Google Groups | Punit Naik | 5 months ago
  1. 0

    Secondar Sorting in spark using clojure/flambo

    Google Groups | 5 months ago | Punit Naik
    java.lang.ClassCastException: org.formcept.wisdom.RFMCKey cannot be cast to java.lang.Comparable at org.spark-project.guava.collect.NaturalOrdering.compare(NaturalOrdering.java:28)
  2. 0

    Secondar Sorting in spark using clojure/flambo

    Stack Overflow | 5 months ago | Punit Naik
    java.lang.ClassCastException: org.formcept.wisdom.RFMCKey cannot be cast to java.lang.Comparable at org.spark-project.guava.collect.NaturalOrdering.compare(NaturalOrdering.java:28)
  3. 0

    Apache Spark - Simple Word Count gets: SparkException: Task not serializable

    Stack Overflow | 2 years ago
    java.lang.ClassCastException: scala.Tuple2 cannot be cast to java.lang.Comparable at org.spark-project.guava.collect.NaturalOrdering.compare(NaturalOrdering.java:28)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Find out the cheapest item

    Stack Overflow | 1 month ago | Ivan C
    java.lang.ClassCastException: com.java.school.B cannot be cast to java.lang.Comparable
  6. 0

    GitHub comment 1147#257371921

    GitHub | 1 month ago | dizzzz
    java.lang.ClassCastException: org.exist.yajsw.Main cannot be cast to java.lang.Comparable

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

      org.formcept.wisdom.RFMCKey cannot be cast to java.lang.Comparable at org.spark-project.guava.collect.NaturalOrdering.compare(NaturalOrdering.java:28)

      at scala.math.LowPriorityOrderingImplicits$$anon$7.compare()
    2. Scala
      LowPriorityOrderingImplicits$$anon$7.compare
      1. scala.math.LowPriorityOrderingImplicits$$anon$7.compare(Ordering.scala:153)
      1 frame
    3. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.util.collection.ExternalSorter$$anon$8.compare(ExternalSorter.scala:170)
      2. org.apache.spark.util.collection.ExternalSorter$$anon$8.compare(ExternalSorter.scala:164)
      3. org.apache.spark.util.collection.TimSort.countRunAndMakeAscending(TimSort.java:252)
      4. org.apache.spark.util.collection.TimSort.sort(TimSort.java:110)
      5. org.apache.spark.util.collection.Sorter.sort(Sorter.scala:37)
      6. org.apache.spark.util.collection.SizeTrackingPairBuffer.destructiveSortedIterator(SizeTrackingPairBuffer.scala:83)
      7. org.apache.spark.util.collection.ExternalSorter.partitionedIterator(ExternalSorter.scala:687)
      8. org.apache.spark.util.collection.ExternalSorter.iterator(ExternalSorter.scala:705)
      9. org.apache.spark.shuffle.hash.HashShuffleReader.read(HashShuffleReader.scala:64)
      10. org.apache.spark.rdd.ShuffledRDD.compute(ShuffledRDD.scala:92)
      11. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:277)
      12. org.apache.spark.CacheManager.getOrCompute(CacheManager.scala:70)
      13. org.apache.spark.rdd.RDD.iterator(RDD.scala:242)
      14. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:35)
      15. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:277)
      16. org.apache.spark.rdd.RDD.iterator(RDD.scala:244)
      17. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
      18. org.apache.spark.scheduler.Task.run(Task.scala:64)
      19. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203)
      19 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames