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

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 526110dfe7 [KYUUBI #6928] Bump Spark 4.0.0
526110dfe7 is described below

commit 526110dfe7be64bf1cba3d8959e3d479df5f9b3c
Author: Cheng Pan <cheng...@apache.org>
AuthorDate: Mon May 26 12:23:22 2025 +0800

    [KYUUBI #6928] Bump Spark 4.0.0
    
    ### Why are the changes needed?
    
    Test Spark 4.0.0 RC1
    https://lists.apache.org/thread/3sx86qhnmot1p519lloyprxv9h7nt2xh
    
    ### How was this patch tested?
    
    GHA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #6928 from pan3793/spark-4.0.0.
    
    Closes #6928
    
    a910169bd [Cheng Pan] Bump Spark 4.0.0
    
    Authored-by: Cheng Pan <cheng...@apache.org>
    Signed-off-by: Cheng Pan <cheng...@apache.org>
---
 .github/workflows/license.yml | 8 ++++----
 .github/workflows/master.yml  | 2 +-
 pom.xml                       | 9 +++++----
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index 52adbba7f4..84db7cb01f 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -41,10 +41,10 @@ jobs:
           distribution: temurin
           java-version: 8
           cache: 'maven'
-      - run: >-
-          build/mvn org.apache.rat:apache-rat-plugin:check
-          -Ptpcds -Pkubernetes-it
-          -Pspark-3.3 -Pspark-3.4 -Pspark-3.5
+      - run: |
+          build/mvn org.apache.rat:apache-rat-plugin:check \
+            -Ptpcds -Pkubernetes-it \
+            -Pspark-3.3 -Pspark-3.4 -Pspark-3.5 -Pspark-4.0
       - name: Upload rat report
         if: failure()
         uses: actions/upload-artifact@v4
diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index 2e33ca6413..4044356a86 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -77,7 +77,7 @@ jobs:
             comment: 'verify-on-spark-3.4-binary'
           - java: 17
             spark: '3.5'
-            spark-archive: '-Pscala-2.13 
-Dspark.archive.mirror=https://archive.apache.org/dist/spark/spark-4.0.0-preview2
 -Dspark.archive.name=spark-4.0.0-preview2-bin-hadoop3.tgz'
+            spark-archive: '-Pscala-2.13 
-Dspark.archive.mirror=https://archive.apache.org/dist/spark/spark-4.0.0 
-Dspark.archive.name=spark-4.0.0-bin-hadoop3.tgz'
             exclude-tags: 
'-Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.IcebergTest,org.apache.kyuubi.tags.PaimonTest,org.apache.kyuubi.tags.SparkLocalClusterTest'
             comment: 'verify-on-spark-4.0-binary'
     env:
diff --git a/pom.xml b/pom.xml
index b13ab510f3..1caa2559ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2064,18 +2064,19 @@
                 <module>extensions/spark/kyuubi-spark-connector-hive</module>
             </modules>
             <properties>
-                <spark.version>4.0.0-preview2</spark.version>
+                <spark.version>4.0.0</spark.version>
                 <spark.binary.version>4.0</spark.binary.version>
                 <antlr4.version>4.13.1</antlr4.version>
-                <!-- TODO: update once Delta support Spark 4.0.0-preview2 -->
+                <!-- TODO: update once Delta support Spark 4.0 -->
                 <delta.version>4.0.0rc1</delta.version>
                 
<delta.artifact>delta-spark_${scala.binary.version}</delta.artifact>
                 <!-- TODO: update once Hudi support Spark 4.0 -->
                 
<hudi.artifact>hudi-spark3.5-bundle_${scala.binary.version}</hudi.artifact>
                 <!-- TODO: update once Iceberg support Spark 4.0 -->
                 
<iceberg.artifact>iceberg-spark-runtime-3.5_${scala.binary.version}</iceberg.artifact>
-                <!-- TODO: update once Paimon support Spark 4.0 -->
-                <paimon.artifact>paimon-spark-3.5</paimon.artifact>
+                <!-- TODO: update once Paimon support Spark 4.0.
+                           paimon-spark-3.5 contains Scala 2.12 classes cause 
conflicts with Scala 2.13 -->
+                <paimon.artifact>paimon-common</paimon.artifact>
                 
<maven.plugin.scalatest.exclude.tags>org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.IcebergTest,org.apache.kyuubi.tags.PaimonTest,org.apache.kyuubi.tags.HudiTest</maven.plugin.scalatest.exclude.tags>
                 
<spark.archive.name>spark-${spark.version}-bin-hadoop3.tgz</spark.archive.name>
             </properties>

Reply via email to