未验证 提交 2be71835 编写于 作者: P Paul Zhang 提交者: GitHub

[Bug][Standalone Server] Deduplicate the classpath jars in start.sh of the...

[Bug][Standalone Server] Deduplicate the classpath jars in start.sh of the standalone server (#9583)
上级 9964c4c1
......@@ -30,7 +30,10 @@ fi
CP=$DOLPHINSCHEDULER_HOME/libs/standalone-server/*
for d in alert-server api-server master-server worker-server; do
for f in $DOLPHINSCHEDULER_HOME/../$d/libs/*.jar; do
CP=$CP:$f
JAR_FILE_NAME=${f##*/}
if [[ ! $CP =~ $JAR_FILE_NAME ]];then
CP=$CP:$f
fi
done
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册