From 897cb95f96ee5aff674c0e204e58b518317d6aa3 Mon Sep 17 00:00:00 2001 From: Armando Zhu Date: Wed, 7 Feb 2024 07:46:52 +0000 Subject: [PATCH] Add HADOOP_CLASSPATH --- .github/services/hdfs/hdfs_default_gcs/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/services/hdfs/hdfs_default_gcs/action.yml b/.github/services/hdfs/hdfs_default_gcs/action.yml index c45017162902..5cf7646ed6bc 100644 --- a/.github/services/hdfs/hdfs_default_gcs/action.yml +++ b/.github/services/hdfs/hdfs_default_gcs/action.yml @@ -44,11 +44,14 @@ runs: curl -LsSf -o ${HADOOP_HOME}/share/hadoop/common/lib/gcs-connector-hadoop3-2.2.19-shaded.jar https://github.com/GoogleCloudDataproc/hadoop-connectors/releases/download/v2.2.19/gcs-connector-hadoop3-2.2.19-shaded.jar + export HADOOP_CLASSPATH=${HADOOP_HOME}/share/hadoop/common/lib/gcs-connector-hadoop3-2.2.19-shaded.jar:$HADOOP_CLASSPATH + cp ./fixtures/hdfs/hdfs-site.xml ${HADOOP_HOME}/etc/hadoop/hdfs-site.xml cp ./fixtures/hdfs/gcs-core-site.xml ${HADOOP_HOME}/etc/hadoop/core-site.xml cat << EOF >> $GITHUB_ENV HADOOP_HOME=${HADOOP_HOME} + HADOOP_CLASSPATH=${HADOOP_CLASSPATH} CLASSPATH=${CLASSPATH} LD_LIBRARY_PATH=${JAVA_HOME}/lib/server:${HADOOP_HOME}/lib/native OPENDAL_HDFS_ROOT=${OPENDAL_GCS_ROOT} @@ -60,3 +63,5 @@ runs: echo ${OPENDAL_GCS_CREDENTIAL} | base64 -d > /tmp/hdfs/gcs-credentials.json + /workspaces/opendal/tmp/quiet-vector.json +