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

yao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 3210500c46 Fix Spark 3.5.2 with scala 2.13 binary release name (#8901)
3210500c46 is described below

commit 3210500c4649accfea83193cc54cdb68a5d2db99
Author: Kent Yao <[email protected]>
AuthorDate: Wed Mar 5 16:07:10 2025 +0800

    Fix Spark 3.5.2 with scala 2.13 binary release name (#8901)
---
 .github/workflows/util/install_spark_resources.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/util/install_spark_resources.sh 
b/.github/workflows/util/install_spark_resources.sh
index cf502a210d..752fbe5b3d 100755
--- a/.github/workflows/util/install_spark_resources.sh
+++ b/.github/workflows/util/install_spark_resources.sh
@@ -29,11 +29,12 @@ function install_spark() {
   local scala_version="$3"
   local spark_version_short=$(echo "${spark_version}" | cut -d '.' -f 1,2 | tr 
-d '.')
   local scala_suffix=$([ "${scala_version}" == '2.13' ] && echo '-scala-2.13' 
|| echo '')
+  local scala_suffix_short=$([ "${scala_version}" == '2.13' ] && echo 
'-scala2.13' || echo '')
   local mirror_host='https://www.apache.org/dyn/closer.lua/'
   local url_query='?action=download'
   local checksum_suffix='sha512'
   local url_path="spark/spark-${spark_version}/"
-  local 
local_binary="spark-${spark_version}-bin-hadoop${hadoop_version}${scala_suffix}.tgz"
+  local 
local_binary="spark-${spark_version}-bin-hadoop${hadoop_version}${scala_suffix_short}.tgz"
   local local_binary_checksum="${local_binary}.${checksum_suffix}"
   local local_source="spark-${spark_version}.tgz"
   local local_source_checksum="${local_source}.${checksum_suffix}"


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

Reply via email to