diff --git a/sbin/restart-worker.sh b/sbin/restart-worker.sh index 00a26115392..84211dbc6b6 100755 --- a/sbin/restart-worker.sh +++ b/sbin/restart-worker.sh @@ -58,4 +58,4 @@ if [ "$WORKER_INSTANCE" = "" ]; then WORKER_INSTANCE=1 fi -"${CELEBORN_HOME}/sbin/celeborn-daemon.sh" restart org.apache.celeborn.service.deploy.worker.Worker "$WORKER_INSTANCE" \ No newline at end of file +"${CELEBORN_HOME}/sbin/celeborn-daemon.sh" --config $CELEBORN_CONF_DIR restart org.apache.celeborn.service.deploy.worker.Worker "$WORKER_INSTANCE" diff --git a/sbin/start-master.sh b/sbin/start-master.sh index b6c653fe5e2..f923736e4f4 100755 --- a/sbin/start-master.sh +++ b/sbin/start-master.sh @@ -50,4 +50,4 @@ CELEBORN_JAVA_OPTS="$CELEBORN_JAVA_OPTS --add-opens=java.security.jgss/sun.secur CELEBORN_JAVA_OPTS="$CELEBORN_JAVA_OPTS -Dorg.apache.logging.log4j.level=INFO" export CELEBORN_JAVA_OPTS="$CELEBORN_JAVA_OPTS" -exec "${CELEBORN_HOME}/sbin/celeborn-daemon.sh" start org.apache.celeborn.service.deploy.master.Master 1 "$@" \ No newline at end of file +exec "${CELEBORN_HOME}/sbin/celeborn-daemon.sh" --config $CELEBORN_CONF_DIR start org.apache.celeborn.service.deploy.master.Master 1 "$@" diff --git a/sbin/start-worker.sh b/sbin/start-worker.sh index f443fa4006c..70f144b2ebc 100755 --- a/sbin/start-worker.sh +++ b/sbin/start-worker.sh @@ -59,4 +59,4 @@ if [ "$WORKER_INSTANCE" = "" ]; then WORKER_INSTANCE=1 fi -exec "${CELEBORN_HOME}/sbin/celeborn-daemon.sh" start org.apache.celeborn.service.deploy.worker.Worker "$WORKER_INSTANCE" "$@" \ No newline at end of file +exec "${CELEBORN_HOME}/sbin/celeborn-daemon.sh" --config $CELEBORN_CONF_DIR start org.apache.celeborn.service.deploy.worker.Worker "$WORKER_INSTANCE" "$@"