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

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


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

commit e4f1e1e44516f2819d532ca0423201214207ff71
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 25 17:31:37 2025 +0800

    branch-3.1: [fix](script) Fix recycler cannot find `core-site.xml` and 
`hdfs-site.xml` #56248 (#56317)
    
    Cherry-picked from #56248
    
    Co-authored-by: Lei Zhang <[email protected]>
---
 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 befe0a9f2e9d..17c3791e1cdc 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