LuciferYang opened a new pull request, #2832: URL: https://github.com/apache/uniffle/pull/2832
### What changes were proposed in this pull request? Bump lz4-java from 1.8.1 to 1.12.1 in every profile, and declare it as `at.yawk.lz4:lz4-java`. 1.12.1 is what Spark master uses. lz4-java moved to that groupId after 1.8.0, and `org.lz4:lz4-java:1.8.1` is a relocation POM, so the old coordinate has no fixed version. The `lz4.groupId` property and the spark4.2 override of `lz4.version` go away. - The Spark shaded poms exclude `at.yawk.lz4:lz4-java`, the coordinate the client modules now declare. - The MR and Tez shaded poms include `at.yawk.lz4:lz4-java`. Their `org.lz4:lz4-java` include from #2693 never matched the relocated artifact, so on master neither shaded jar contains lz4. - The root pom still manages `org.lz4:lz4-java` at 1.8.1. Spark 4.1 and earlier pull org.lz4 1.4.0 to 1.8.0, and this pin relocates them to at.yawk.lz4, which leaves one lz4 jar on test classpaths. - LICENSE-binary lists `at.yawk.lz4:lz4-java`. ### Why are the changes needed? This closes the 7 Dependabot alerts on `at.yawk.lz4:lz4-java`. GHSA-cmp6-m4wj-q63q is in the Java safe decompressor, which `Lz4Codec` uses through `LZ4Factory.safeInstance().fastDecompressor()`. The 7 alerts on `org.lz4:lz4-java` stay open because the root pom still names the 1.8.1 relocation POM, although no profile resolves an org.lz4 jar. ### Does this PR introduce _any_ user-facing change? Compared with master, the MR and Tez shaded jars bundle lz4-java again, as 0.10.0 did with `net.jpountz.lz4:lz4:1.3.0`. The server, coordinator and CLI ship 1.12.1 instead of 1.8.1. The Spark shaded clients still run on the lz4 that Spark ships. `Lz4Codec` calls only `safeInstance()`, `fastCompressor()`, `fastDecompressor()`, `compress`, `decompress` and `maxCompressedLength`, and these have the same signatures in lz4-java 1.4.0 through 1.12.1. ### How was this patch tested? No new tests. `dependency:tree` under the default, mr, tez, spark2, spark3.0, spark3.5, spark4, spark4.1 and spark4.2 profiles resolves only `at.yawk.lz4:lz4-java:1.12.1`. The MR and Tez shaded jars now contain the `net.jpountz` classes and native libraries from 1.12.1. CI does not inspect those two jars. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
