andygrove commented on code in PR #256:
URL:
https://github.com/apache/arrow-datafusion-comet/pull/256#discussion_r1560356498
##########
spark/src/main/java/org/apache/spark/shuffle/sort/CometShuffleExternalSorter.java:
##########
@@ -431,7 +431,14 @@ class SpillSorter extends SpillWriter {
// As we cannot access the address of the internal array in the sorter,
so we need to
// allocate the array manually and expand the pointer array in the
sorter.
// We don't want in-memory sorter to allocate memory but the initial
size cannot be zero.
- this.inMemSorter = new ShuffleInMemorySorter(allocator, 1, true);
+ try {
+ this.inMemSorter = new ShuffleInMemorySorter(allocator, 1, true);
+ } catch (java.lang.IllegalAccessError e) {
+ throw new java.lang.RuntimeException(
+ "Error lodaing in memory sorter check class path -- see "
Review Comment:
```suggestion
"Error loading in-memory sorter check class path -- see "
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]