Skip to content

Commit

Permalink
check CELEBORN_CONF_DIR in celeborn-daemon.sh start_celeborn
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Dec 25, 2024
1 parent 99761d8 commit 058b5bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sbin/celeborn-daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ run_command() {
}

start_celeborn() {
if [ ! -d "$CELEBORN_CONF_DIR" ]
then
echo "ERROR : CELEBORN_CONF_DIR: $CELEBORN_CONF_DIR is not a directory"
exit 1
fi
run_command class "$@"
}

Expand Down

0 comments on commit 058b5bd

Please sign in to comment.