[CELEBORN-258][FOLLOW UP] sbin/restart-worker.sh should also import the sbin/celeborn-config.sh

Co-authored-by: Hui An <hui.an@shopee.com>
This commit is contained in:
Rex(Hui) An 2023-02-01 17:28:20 +08:00 committed by GitHub
parent 98a5a3e16e
commit e23f5ac679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,8 @@ if [ -z "${CELEBORN_HOME}" ]; then
export CELEBORN_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi
. "${CELEBORN_HOME}/sbin/celeborn-config.sh"
if [ "$CELEBORN_WORKER_MEMORY" = "" ]; then
CELEBORN_WORKER_MEMORY="1g"
fi