panbingkun commented on code in PR #46390:
URL: https://github.com/apache/spark/pull/46390#discussion_r1591909956
##########
core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java:
##########
@@ -17,21 +17,22 @@
package org.apache.spark.util.collection.unsafe.sort;
+import java.io.*;
Review Comment:
The import order has been restored.
I actually have an idea to align `the import order of java` with `the import
order of scala`.
It's OK, I restored it, 😄
##########
core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorter.java:
##########
@@ -476,8 +479,9 @@ public void insertRecord(
assert(inMemSorter != null);
if (inMemSorter.numRecords() >= numElementsForSpillThreshold) {
- logger.info("Spilling data because number of spilledRecords crossed the
threshold " +
- numElementsForSpillThreshold);
+ logger.info("Spilling data because number of spilledRecords crossed the
threshold {}",
+
MDC.of(LogKeys.SHUFFLE_SPILL_NUM_ELEMENTS_FORCE_SPILL_THRESHOLD$.MODULE$,
Review Comment:
Done
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]