dongjoon-hyun opened a new pull request, #732:
URL: https://github.com/apache/spark-kubernetes-operator/pull/732

   ### What changes were proposed in this pull request?
   
   This PR excludes Hadoop MapReduce classes (`org/apache/hadoop/mapred/**` and
   `org/apache/hadoop/mapreduce/**`) from the operator shadow jar by adding
   class-path filters to the `shadowJar` block in `spark-operator/build.gradle`.
   
   ### Why are the changes needed?
   
   The operator manages Spark applications on Kubernetes and never runs the 
MapReduce
   framework. The bundled MapReduce classes are dead weight in the runtime 
classpath
   and shaded jar. Removing them drops 403 classes (~1.7 MB uncompressed) that
   originate from `hadoop-client-api`, shrinking the shadow jar by ~774 KB.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Fable 5


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