LuciferYang opened a new pull request, #2835:
URL: https://github.com/apache/uniffle/pull/2835

   ### What changes were proposed in this pull request?
   
   Make LICENSE-binary and NOTICE-binary list exactly the third-party jars that 
the binary release and the published shaded clients bundle.
   
   Removed, because no release artifact contains them:
   
   - `com.fasterxml.jackson.module:jackson-module-scala_2.12`
   - `com.github.luben:zstd-jni` and `org.xerial.snappy:snappy-java`. `common` 
declares both as provided, and no shaded client includes them. 
`licenses-binary/LICENSE-zstd-jni.txt` is removed with them.
   - `commons-collections:commons-collections`
   - `javax.inject:javax.inject`. The `javax.inject` classes in the jars come 
from `org.glassfish.hk2.external:jakarta.inject`, which stays listed.
   - `org.slf4j:slf4j-reload4j`
   
   Added, because they are bundled but were not listed:
   
   - `commons-io:commons-io`, in the server and coordinator jars. NOTICE-binary 
gets its NOTICE.
   - `io.netty:netty` 3.6.2, in the MR and Tez shaded clients, pulled in by 
`hadoop-mapreduce-client-core` 2.8.5.
   - `com.esotericsoftware:kryo-shaded`, `minlog` and `reflectasm`, in the 
server, coordinator, CLI and dashboard jars. They are BSD 3-Clause. Their 
license texts in `licenses-binary` are copied from Spark's.
   
   ### Why are the changes needed?
   
   `create-package.sh` copies LICENSE-binary and NOTICE-binary into the binary 
tarball as LICENSE and NOTICE, and `publish_maven_artifacts.sh` puts them into 
the shaded client jars, so they have to match what those artifacts contain.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Only the release license files change.
   
   ### How was this patch tested?
   
   I built what `build_distribution.sh` and `publish_maven_artifacts.sh` ship: 
the server, coordinator, CLI and dashboard jar directories, plus the spark2, 
spark3, spark4, MR and Tez shaded clients. I then collected the Maven 
coordinates of every bundled jar, including the `pom.properties` embedded in 
the shaded jars. After this change, every Maven coordinate in LICENSE-binary is 
bundled and every bundled coordinate is listed. The Jersey and HK2 artifacts 
inside `org.apache.hbase.thirdparty:hbase-shaded-jersey` are covered by that 
entry.
   
   🤖 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]

Reply via email to