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

peacewong pushed a commit to branch dev-1.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/dev-1.3.0 by this push:
     new 850bccd8b [BUG] fix issue: failed to start ldh flink yarn session due 
to empty hadoop classpath (#3453)
850bccd8b is described below

commit 850bccd8b39a2118ef3292818d665591769be65a
Author: Aaron Lin <[email protected]>
AuthorDate: Sun Sep 18 23:10:25 2022 +0800

    [BUG] fix issue: failed to start ldh flink yarn session due to empty hadoop 
classpath (#3453)
---
 linkis-dist/docker/scripts/entry-point-ldh.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linkis-dist/docker/scripts/entry-point-ldh.sh 
b/linkis-dist/docker/scripts/entry-point-ldh.sh
index 1e03b3017..55653d79c 100644
--- a/linkis-dist/docker/scripts/entry-point-ldh.sh
+++ b/linkis-dist/docker/scripts/entry-point-ldh.sh
@@ -46,7 +46,7 @@ hdfs dfs -chmod 777 /
 /opt/ldh/current/spark/sbin/start-history-server.sh
 
 # flink
-/opt/ldh/current/flink/bin/yarn-session.sh --detached
+HADOOP_CLASSPATH=`hadoop classpath` /opt/ldh/current/flink/bin/yarn-session.sh 
--detached
 
 # zookeeper
 /opt/ldh/current/zookeeper/bin/zkServer.sh start


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

Reply via email to