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

   ### What changes were proposed in this pull request?
   
   This PR excludes the `org.checkerframework` dependency (transitively pulled 
in by Spark via Guava) from the Spark dependency configurations in both 
`spark-submission-worker` (`spark-kubernetes`) and `spark-operator` 
(`spark-core`).
   
   ### Why are the changes needed?
   
   `org.checkerframework:checker-qual` is a compile-time annotation-only 
artifact that is not needed at runtime. Excluding it removes an unnecessary 
dependency from the operator's runtime classpath and shaded jar.
   
   Before this change, `checker-qual` appeared in the runtime classpath:
   
   ```
   $ ./gradlew -q :spark-operator:dependencies --configuration runtimeClasspath 
| grep checker
        |    |                   +--- org.checkerframework:checker-qual:3.33.0
   ```
   
   After this change, it is no longer present.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Verified that `org.checkerframework:checker-qual` is removed from the 
runtime classpath:
   
   ```
   $ ./gradlew -q :spark-operator:dependencies --configuration runtimeClasspath 
| grep -ic checker
   0
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.8


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