You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/10/17 09:03:21 UTC
[incubator-opendal] branch fix-hdfs created (now 6d9de1361)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch fix-hdfs
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
at 6d9de1361 ci: Fix HDFS test
This branch includes the following new commits:
new 6d9de1361 ci: Fix HDFS test
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-opendal] 01/01: ci: Fix HDFS test
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch fix-hdfs
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit 6d9de13610f1e491cded04bccc8eaae843864794
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Tue Oct 17 17:03:10 2023 +0800
ci: Fix HDFS test
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/workflows/service_test_hdfs.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/service_test_hdfs.yml b/.github/workflows/service_test_hdfs.yml
index abfe236cc..112f00fa9 100644
--- a/.github/workflows/service_test_hdfs.yml
+++ b/.github/workflows/service_test_hdfs.yml
@@ -61,11 +61,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)
+ export LD_LIBRARY_PATH=${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME }}/lib/native
+
cargo test services_hdfs --features services-hdfs
env:
HADOOP_HOME: "/home/runner/hadoop-3.3.5"
- LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }}
OPENDAL_HDFS_TEST: on
OPENDAL_HDFS_ROOT: /tmp/opendal/
OPENDAL_HDFS_NAME_NODE: default
@@ -119,11 +120,11 @@ jobs:
working-directory: core
run: |
export CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob)
+ export LD_LIBRARY_PATH=${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME }}/lib/native
cargo test services_hdfs --features services-hdfs
env:
HADOOP_HOME: "/home/runner/hadoop-3.2.4"
- 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