mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 03:08:01 +08:00
[Bug][Standalone Server] Deduplicate the classpath jars in start.sh of the standalone server (#9583)
This commit is contained in:
parent
9964c4c1e1
commit
2be7183563
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user