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

   ### What changes were proposed in this pull request?
   This pr add `assemblyPackageScala` and `assemblyExcludedJars` to 
`SparkProtobuf`  module sbt build options to exclude redundant jars from 
spark-protobuf-assembly jar.
   
   
   ### Why are the changes needed?
   Exclude redundant jars from `spark-protobuf-assembly` jar 
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   
   - Pass GitHub Actions
   - Manual test
   
   run `build/sbt "protobuf/assembly"`
   
   **Before** 
   
   ```
   [debug] Including from cache: spark-tags_2.12-3.4.0-SNAPSHOT.jar
   [debug] Including from cache: unused-1.0.0.jar
   [debug] Including from cache: spark-protobuf_2.12-3.4.0-SNAPSHOT.jar
   [debug] Including from cache: scala-collection-compat_2.12-2.2.0.jar
   [debug] Including from cache: pmml-model-1.4.8.jar
   [debug] Including from cache: protobuf-java-3.21.1.jar
   [debug] Including from cache: guava-14.0.1.jar
   [debug] Including from cache: scala-library-2.12.17.jar
   ```
   
   **After**
   
   ```
   [debug] Including: spark-protobuf_2.12-3.4.0-SNAPSHOT.jar
   [debug] Including from cache: protobuf-java-3.21.1.jar
   ```
   


-- 
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