Skip to content

Commit

Permalink
[Bug][Standalone Server] Deduplicate the classpath jars in start.sh o…
Browse files Browse the repository at this point in the history
…f the standalone server (apache#9583)
  • Loading branch information
paul8263 authored and 冯剑 Jian committed Apr 23, 2022
1 parent adea97b commit fb16efc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fb16efc

Please sign in to comment.