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/04/26 10:05:09 UTC

[incubator-opendal] branch main updated: docs: add hdfs classpath related troubleshoot (#2130)

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 a814d9f6 docs: add hdfs classpath related troubleshoot (#2130)
a814d9f6 is described below

commit a814d9f65e48f02dffefe42e7a7a0adcbad1dde8
Author: congyi wang <58...@users.noreply.github.com>
AuthorDate: Wed Apr 26 18:05:04 2023 +0800

    docs: add hdfs classpath related troubleshoot (#2130)
    
    * add hdfs classpath troubleshoot
    
    * empty commit for retry
---
 core/src/services/hdfs/backend.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/core/src/services/hdfs/backend.rs b/core/src/services/hdfs/backend.rs
index 29c24780..f00059d1 100644
--- a/core/src/services/hdfs/backend.rs
+++ b/core/src/services/hdfs/backend.rs
@@ -93,6 +93,11 @@ use crate::*;
 /// ```
 ///
 /// `CLASSPATH` is not set correctly or your hadoop installation is incorrect.
+///  
+/// To set `CLASSPATH`:
+/// ```shell
+/// export CLASSPATH=$(find $HADOOP_HOME -iname "*.jar" | xargs echo | tr ' ' ':'):${CLASSPATH}
+/// ```
 ///
 /// # Example
 ///