Skip to content

[iceberg] Error loading in-memory sorter check class pathΒ #1982

@andygrove

Description

@andygrove

Describe the bug

I am fuzz testing Comet 0.10.0-SNAPSHOT and Iceberg 1.8.1 and running into an error for queries with ORDER BY clauses:

SELECT c5, Sqrt(c5) AS x FROM local.db.test1 ORDER BY c5;
[ERROR] Query failed in Comet: Job aborted due to stage failure: Task 7 in stage 27.0 failed 1 times, most recent failure: Lost task 7.0 in stage 27.0 (TID 78) (10.0.0.118 executor driver): java.lang.RuntimeException: Error loading in-memory sorter check class path -- see https://github.com/apache/arrow-datafusion-comet?tab=readme-ov-file#enable-comet-shuffle
...
Caused by: java.lang.IllegalAccessError: failed to access class org.apache.spark.shuffle.sort.ShuffleInMemorySorter from class org.apache.spark.shuffle.sort.CometShuffleExternalSorter$SpillSorter (org.apache.spark.shuffle.sort.ShuffleInMemorySorter is in unnamed module of loader 'app'; org.apache.spark.shuffle.sort.CometShuffleExternalSorter$SpillSorter is in unnamed module of loader org.apache.spark.util.MutableURLClassLoader @2a49fe)
        at org.apache.spark.shuffle.sort.CometShuffleExternalSorter$SpillSorter.<init>(CometShuffleExternalSorter.java:438)

The URL in the error message does not exist.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions