Skip to content

Commit

Permalink
ci(services/hdfs): Load native lib instead (#2900)
Browse files Browse the repository at this point in the history
* ci(services/hdfs): Load native lib instead

Signed-off-by: Xuanwo <[email protected]>

* try again

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Aug 22, 2023
1 parent 6f41165 commit b5f343b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/service_test_hdfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ jobs:
shell: bash
working-directory: core
run: |
export CLASSPATH=$(find $HADOOP_HOME -iname "*.jar" | xargs echo | tr ' ' ':')
export CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob)
cargo test services_hdfs --features services-hdfs
env:
HADOOP_HOME: "/home/runner/hadoop-3.1.3"
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }}
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME }}/lib/native:${{ env.LD_LIBRARY_PATH }}
OPENDAL_HDFS_TEST: on
OPENDAL_HDFS_ROOT: /tmp/opendal/
OPENDAL_HDFS_NAME_NODE: hdfs://localhost:8020

0 comments on commit b5f343b

Please sign in to comment.