Skip to content

Commit

Permalink
CI: fix spark download fialure. (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Feb 20, 2023
1 parent a0245fa commit e034e69
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tpcds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ jobs:
- name: Set up Spark
working-directory: /tmp
run: |
wget https://dlcdn.apache.org/spark/spark-3.3.1/spark-3.3.1-bin-hadoop3.tgz
tar -zxf spark-3.3.1-bin-hadoop3.tgz
ln -s spark-3.3.1-bin-hadoop3 spark
spark_version=3.3.2
wget -q https://dlcdn.apache.org/spark/spark-$spark_version/spark-$spark_version-bin-hadoop3.tgz
tar -zxf spark-$spark_version-bin-hadoop3.tgz
ln -s spark-$spark_version-bin-hadoop3 spark
cp ~/work/juicefs/juicefs/sdk/java/target/juicefs-hadoop*jar /tmp/spark/jars
cp ~/work/juicefs/juicefs/.github/workflows/resources/core-site.xml /tmp/spark/conf
export PATH=$PATH:/tmp/spark/bin:/tmp/spark/sbin
Expand Down

0 comments on commit e034e69

Please sign in to comment.