java.lang.IllegalArgumentException: Comparison method violates its general contract!

spark-issues | Sital Kedia (JIRA) | 9 months ago
  1. 0

    [jira] [Created] (SPARK-13850) TimSort Comparison method violates its general contract

    spark-issues | 9 months ago | Sital Kedia (JIRA)
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    IllegalArgumentException in ViewerComparator.sort (189)

    Eclipse Bugzilla | 2 years ago | error-reports-inbox
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  3. 0

    Clipboard failure

    GitHub | 1 year ago | gary-rowe
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JGraph/JGraphX : Creating a very complex graph

    Stack Overflow | 3 years ago | user2730789
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  6. 0

    [jira] [Updated] (CASSANDRA-8182) Comparison method violates its general contract in IndexSummaryManager.redistributeSummaries

    apache.org | 2 years ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!

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

      Comparison method violates its general contract!

      at org.apache.spark.util.collection.TimSort$SortState.mergeLo()
    2. Spark
      Sorter.sort
      1. org.apache.spark.util.collection.TimSort$SortState.mergeLo(TimSort.java:794)
      2. org.apache.spark.util.collection.TimSort$SortState.mergeAt(TimSort.java:525)
      3. org.apache.spark.util.collection.TimSort$SortState.mergeCollapse(TimSort.java:453)
      4. org.apache.spark.util.collection.TimSort$SortState.access$200(TimSort.java:325)
      5. org.apache.spark.util.collection.TimSort.sort(TimSort.java:153)
      6. org.apache.spark.util.collection.Sorter.sort(Sorter.scala:37)
      6 frames
    3. org.apache.spark
      UnsafeExternalSorter.insertRecord
      1. org.apache.spark.util.collection.unsafe.sort.UnsafeInMemorySorter.getSortedIterator(UnsafeInMemorySorter.java:228)
      2. org.apache.spark.util.collection.unsafe.sort.UnsafeExternalSorter.spill(UnsafeExternalSorter.java:186)
      3. org.apache.spark.memory.TaskMemoryManager.acquireExecutionMemory(TaskMemoryManager.java:175)
      4. org.apache.spark.memory.TaskMemoryManager.allocatePage(TaskMemoryManager.java:249)
      5. org.apache.spark.memory.MemoryConsumer.allocatePage(MemoryConsumer.java:112)
      6. org.apache.spark.util.collection.unsafe.sort.UnsafeExternalSorter.acquireNewPageIfNecessary(UnsafeExternalSorter.java:318)
      7. org.apache.spark.util.collection.unsafe.sort.UnsafeExternalSorter.insertRecord(UnsafeExternalSorter.java:333)
      7 frames
    4. Spark Project SQL
      Sort$$anonfun$1.apply
      1. org.apache.spark.sql.execution.UnsafeExternalRowSorter.insertRow(UnsafeExternalRowSorter.java:91)
      2. org.apache.spark.sql.execution.UnsafeExternalRowSorter.sort(UnsafeExternalRowSorter.java:168)
      3. org.apache.spark.sql.execution.Sort$$anonfun$1.apply(Sort.scala:90)
      4. org.apache.spark.sql.execution.Sort$$anonfun$1.apply(Sort.scala:64)
      4 frames
    5. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$21.apply(RDD.scala:728)
      2. org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$21.apply(RDD.scala:728)
      3. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      4. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      5. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      6. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      7. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      8. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      9. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      10. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      11. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      12. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      13. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      14. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      15. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      16. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      17. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
      18. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
      19. org.apache.spark.scheduler.Task.run(Task.scala:89)
      20. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      20 frames
    6. 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