This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new b5f343b8d ci(services/hdfs): Load native lib instead (#2900)
b5f343b8d is described below

commit b5f343b8d8e1777930e42ff7f8ff6f92b80d5464
Author: Xuanwo <[email protected]>
AuthorDate: Tue Aug 22 11:36:18 2023 +0800

    ci(services/hdfs): Load native lib instead (#2900)
    
    * 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]>
---
 .github/workflows/service_test_hdfs.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/service_test_hdfs.yml 
b/.github/workflows/service_test_hdfs.yml
index b12093616..f37ed1810 100644
--- a/.github/workflows/service_test_hdfs.yml
+++ b/.github/workflows/service_test_hdfs.yml
@@ -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

Reply via email to