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. 3
      dolphinscheduler-standalone-server/src/main/dist-bin/start.sh

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

@ -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
JAR_FILE_NAME=${f##*/}
if [[ ! $CP =~ $JAR_FILE_NAME ]];then
CP=$CP:$f
fi
done
done

Loading…
Cancel
Save