wForget opened a new pull request, #2768: URL: https://github.com/apache/uniffle/pull/2768
### What changes were proposed in this pull request? Add Apache Spark 4.2.0 support to Uniffle. The main changes include: - Add a `spark4.2` Maven profile using JDK 17 and Scala 2.13.18. - Align Spark 4.2 dependencies, including Hadoop 3.5.0, Netty 4.2.13.Final, Jackson 2.21.2, Log4j 2.25.4, and SLF4J 2.0.17. - Reuse the Spark 4.1 compatibility implementation for the unchanged `MapStatus` and `ExternalSorter` APIs. - Upgrade LZ4 to `at.yawk.lz4:lz4-java:1.11.0` for Spark 4.2 while preserving the existing version for other profiles. - Adapt the Spark UI extension to Spark 4.2's Bootstrap 5 and CSP-compatible collapse markup. - Add Spark 4.2 UI compatibility tests. - Add Spark 4.2 builds to the parallel and sequential CI workflows. - Update the supported Spark versions and build instructions in the README. ### Why are the changes needed? Spark 4.2 updates several dependency versions and removes the legacy global `collapseTable()` JavaScript function from its Web UI. Without these changes: - Spark shuffle integration tests fail because Spark 4.2 requires the newer LZ4 builder API. - Collapsible sections on the Uniffle Spark UI page do not work. - Uniffle cannot be built or validated directly against Spark 4.2.0. ### How was this patch tested? The following validations passed with JDK 17 and the `spark4.2` profile: - `RssSpark4ShuffleUtilsTest`: 3 tests passed. - `SparkVersionUtilsTest`: 2 tests passed. - `ServletCompatTest` with Spark 4.2: passed. - `ServletCompatTest` with Spark 4.1: passed. - `MapSideCombineTest`: passed. - `AQERepartitionTest`: passed. - Spark 4.2 shaded client build: passed. - Shaded dependency check: `unshaded count: 0`. - `git diff --check`: passed. ---- Generated by Codex (GPT-5.6) -- 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]
