This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new d2118d6  [SPARK-57857] Exclude `com.ning` dependency
d2118d6 is described below

commit d2118d6192cf05fec55998048dd5b951925e7077
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Jul 1 09:04:54 2026 -0700

    [SPARK-57857] Exclude `com.ning` dependency
    
    ### What changes were proposed in this pull request?
    
    This PR excludes the transitive `com.ning:compress-lzf` dependency from the 
shaded operator jar.
    
    ### Why are the changes needed?
    
    `compress-lzf` is pulled in via `spark-core` as a shuffle/broadcast 
compression codec. The operator only builds driver/submission specs and never 
runs it, like the other already-excluded runtime codecs (`org.lz4`, 
`org.xerial.snappy`, `com.github.luben`, `org.roaringbitmap`).
    
    ### 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 Opus 4.8
    
    Closes #730 from dongjoon-hyun/SPARK-57857.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 spark-operator/build.gradle          | 1 +
 spark-submission-worker/build.gradle | 1 +
 2 files changed, 2 insertions(+)

diff --git a/spark-operator/build.gradle b/spark-operator/build.gradle
index 1759197..4b171e7 100644
--- a/spark-operator/build.gradle
+++ b/spark-operator/build.gradle
@@ -41,6 +41,7 @@ dependencies {
   compileOnly(libs.spark.core) {
     exclude group: "com.github.luben"
     exclude group: "com.ibm.icu"
+    exclude group: "com.ning"
     exclude group: "commons-codec"
     exclude group: "commons-collections", module: "commons-collections"
     exclude group: "net.razorvine"
diff --git a/spark-submission-worker/build.gradle 
b/spark-submission-worker/build.gradle
index 4907e89..35fc964 100644
--- a/spark-submission-worker/build.gradle
+++ b/spark-submission-worker/build.gradle
@@ -27,6 +27,7 @@ dependencies {
   implementation(libs.spark.kubernetes) {
     exclude group: "com.github.luben"
     exclude group: "com.ibm.icu"
+    exclude group: "com.ning"
     exclude group: "commons-codec"
     exclude group: "commons-collections", module: "commons-collections"
     exclude group: "io.fabric8"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to