This is an automated email from the ASF dual-hosted git repository. tzulitai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 7005f6a75e0a24445dd9b59fda6162cce8018b48 Author: Tzu-Li (Gordon) Tai <[email protected]> AuthorDate: Mon Mar 22 11:51:01 2021 +0800 [FLINK-21904] Sync standalone-job.sh with recent Flink 1.12.x changes This closes #217. --- tools/docker/flink-distribution-template/bin/standalone-job.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/docker/flink-distribution-template/bin/standalone-job.sh b/tools/docker/flink-distribution-template/bin/standalone-job.sh index f7709e9..6e02d6c 100755 --- a/tools/docker/flink-distribution-template/bin/standalone-job.sh +++ b/tools/docker/flink-distribution-template/bin/standalone-job.sh @@ -40,7 +40,11 @@ ARGS=("--configDir" "${FLINK_CONF_DIR}" "${@:2}") if [[ $STARTSTOP == "start" ]] || [[ $STARTSTOP == "start-foreground" ]]; then # Add cluster entry point specific JVM options export FLINK_ENV_JAVA_OPTS="${FLINK_ENV_JAVA_OPTS} ${FLINK_ENV_JAVA_OPTS_JM}" - parseJmJvmArgsAndExportLogs "${ARGS[@]}" + parseJmArgsAndExportLogs "${ARGS[@]}" + + if [ ! -z "${DYNAMIC_PARAMETERS}" ]; then + ARGS+=(${DYNAMIC_PARAMETERS[@]}) + fi fi if [[ $STARTSTOP == "start-foreground" ]]; then
