Browse Source

[Bug][Standalone Server] Deduplicate the classpath jars in start.sh of the standalone server (#9583)

3.0.0/version-upgrade
Paul Zhang 3 years ago committed by GitHub
parent
commit
2be7183563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      dolphinscheduler-standalone-server/src/main/dist-bin/start.sh

5
dolphinscheduler-standalone-server/src/main/dist-bin/start.sh

@ -30,7 +30,10 @@ fi
CP=$DOLPHINSCHEDULER_HOME/libs/standalone-server/* CP=$DOLPHINSCHEDULER_HOME/libs/standalone-server/*
for d in alert-server api-server master-server worker-server; do for d in alert-server api-server master-server worker-server; do
for f in $DOLPHINSCHEDULER_HOME/../$d/libs/*.jar; 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
done done

Loading…
Cancel
Save