Skip to content

Commit

Permalink
Set java and hadoop home in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf committed Apr 12, 2024
1 parent e0858c5 commit 828ad78
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/velox_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ jobs:
with:
path: ./cpp/build/releases/
key: cache-velox-build-${{ hashFiles('./cache-key') }}
- name: Setup java and hadoop
run: |
apt-get update && apt-get install -y openjdk-8-jdk
apt remove openjdk-11* -y
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
echo "JAVA_HOME: $JAVA_HOME"
axel https://archive.apache.org/dist/hadoop/core/hadoop-2.10.1/hadoop-2.10.1.tar.gz
tar xf hadoop-2.10.1.tar.gz -C /usr/local/
export HADOOP_HOME='/usr/local/hadoop-2.10.1'
echo "HADOOP_HOME: $HADOOP_HOME"
- name: Build Gluten Velox third party
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: |
Expand Down

0 comments on commit 828ad78

Please sign in to comment.