Yohahaha commented on code in PR #7789:
URL: https://github.com/apache/incubator-gluten/pull/7789#discussion_r1921967940
##########
.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:
thank you for the explanation! @zhouyuan
> based on my local tests, JDK11 is also working, the current latest LTS
JDK17 seems more preferred based on what I collected so far
yes, spark 4.0 requires JDK17+
--
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]