zhouyuan commented on code in PR #7789:
URL: https://github.com/apache/incubator-gluten/pull/7789#discussion_r1921814805


##########
.github/workflows/velox_backend.yml:
##########
@@ -747,20 +764,25 @@ jobs:
         with:
           name: arrow-jars-centos-7-${{github.sha}}
           path: /root/.m2/repository/org/apache/arrow/
-      - name: Prepare
+      - name: Prepare spark.test.home for Spark 3.4.4 (other tests)
         run: |
+          rm -rf /opt/shims/spark34
+          bash .github/workflows/util/install_spark_resources.sh 3.4
           dnf module -y install python39 && \
           alternatives --set python3 /usr/bin/python3.9 && \
           pip3 install setuptools && \
-          pip3 install pyspark==3.4.3 cython && \
+          pip3 install pyspark==3.4.4 cython && \
           pip3 install pandas pyarrow
-      - name: Build and Run unit test for Spark 3.4.3 (other tests)
+      - name: Build and Run unit test for Spark 3.4.4 (other tests)
         run: |
           cd $GITHUB_WORKSPACE/
           export SPARK_SCALA_VERSION=2.12
-          $MVN_CMD clean test -Pspark-3.4 -Pbackends-velox -Pceleborn 
-Piceberg -Pdelta -Phudi -Pspark-ut \
-          -DargLine="-Dspark.test.home=/opt/shims/spark34/spark_home/" \
-          
-DtagsToExclude=org.apache.spark.tags.ExtendedSQLTest,org.apache.gluten.tags.UDFTest,org.apache.gluten.tags.SkipTestTags
+          export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+          export SPARK_HOME=/opt/shims/spark34/spark_home/
+          ls -l /opt/shims/spark34/spark_home/
+          $MVN_CMD clean test -Pspark-3.4 -Pjava-17 -Pbackends-velox 
-Pceleborn -Piceberg -Pdelta -Phudi -Pspark-ut \

Review Comment:
   > seems Spark 344 UT will only run with jdk17, will we drop UT+jdk8 support 
in the future?
   
   Hi @Yohahaha,
   
   In general we are trying to bump the JDK support in 1.4 release, due to many 
dependent libs dropped JDK8 support. 
   
   - The main reason for this bump is due to iceberg dropped JDK8 support 
starts from 
1.7.0(https://lists.apache.org/thread/xd4sjd0cx010qcv9qmlt89zdx4s1cyp4). JDK8 
should be working if `-Piceberg` is not activated 
   - based on my local tests, JDK11 is also working, the current latest LTS 
JDK17 seems more preferred based on what I collected so far 
   - If JDK8 requirements are strong in the community, we could add back the 
JDK8 based unit tests CI(without `-Piceberg`)
   
   Cc: @weiting-chen 
   
   Thanks, -yuan



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