Skip to content

Commit

Permalink
fix hdfs cluster action
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorgan committed Aug 24, 2024
1 parent 8b616c7 commit 832d45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/services/hdfs/hdfs_cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ runs:
curl -LsSf https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz | tar zxf - -C /home/runner
echo "HADOOP_HOME=/home/runner/hadoop-3.3.5" >> $GITHUB_ENV
echo "CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob)" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${{ JAVA_HOME }}/lib/server:${{ HADOOP_HOME }}/lib/native" >> $GITHUB_ENV
cp ${{ github.workspace }}/fixtures/hdfs/hdfs-site.xml ${{ HADOOP_HOME }}/etc/hadoop/hdfs-site.xml
echo "LD_LIBRARY_PATH=${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME }}/lib/native" >> $GITHUB_ENV
cp ${{ github.workspace }}/fixtures/hdfs/hdfs-site.xml ${{ env.HADOOP_HOME }}/etc/hadoop/hdfs-site.xml
- name: Setup opendal env
shell: bash
run: |
Expand Down

0 comments on commit 832d45b

Please sign in to comment.