Skip to content

Commit

Permalink
Add sanity check that FLINK_HOME is set
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Jan 13, 2021
1 parent 65b5941 commit 656628f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flink-dist/src/main/flink-bin/bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ bin=`dirname "$0"`
bin=`cd "$bin"; pwd`

# FLINK_HOME is set by the docker image
if [ -z "${FLINK_HOME}" ]; then
echo "FLINK_HOME must be set"
exit 1
fi
export _FLINK_HOME_DETERMINED=true
. ${FLINK_HOME}/bin/config.sh

Expand Down

0 comments on commit 656628f

Please sign in to comment.