diff --git a/.github/workflows/velox_docker.yml b/.github/workflows/velox_docker.yml index 07960813eec93..ad713d8f4f906 100644 --- a/.github/workflows/velox_docker.yml +++ b/.github/workflows/velox_docker.yml @@ -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: |