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

hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new f0f26d7c7da [fix](script) Fix recycler cannot find `core-site.xml` and 
`hdfs-site.xml` (#56248)
f0f26d7c7da is described below

commit f0f26d7c7dae73f4d4589603386acc3b625352a6
Author: Lei Zhang <[email protected]>
AuthorDate: Fri Sep 19 21:07:32 2025 +0800

    [fix](script) Fix recycler cannot find `core-site.xml` and `hdfs-site.xml` 
(#56248)
---
 cloud/script/start.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cloud/script/start.sh b/cloud/script/start.sh
index befe0a9f2e9..17c3791e1cd 100644
--- a/cloud/script/start.sh
+++ b/cloud/script/start.sh
@@ -129,7 +129,8 @@ if [[ ${enable_hdfs} -eq 1 ]]; then
         done
     fi
 
-    export CLASSPATH="${DORIS_CLASSPATH}"
+    # and conf/ dir so that hadoop libhdfs can read .xml config file in conf/
+    export CLASSPATH="${DORIS_HOME}/conf/:${DORIS_CLASSPATH}:${CLASSPATH}"
 
     export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server:${LD_LIBRARY_PATH}"
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to