Github user dawidwys commented on a diff in the pull request:
https://github.com/apache/flink/pull/6344#discussion_r203324113
--- Diff: flink-dist/src/main/flink-bin/bin/standalone-job.sh ---
@@ -56,7 +56,7 @@ if [[ $STARTSTOP == "start" ]] || [[ $STARTSTOP ==
"start-foreground" ]]; then
export FLINK_ENV_JAVA_OPTS="${FLINK_ENV_JAVA_OPTS}
${FLINK_ENV_JAVA_OPTS_JM}"
# Startup parameters
- ARGS+=("--configDir" "${FLINK_CONF_DIR}")
+ ARGS=("--configDir" "${FLINK_CONF_DIR}" "${ARGS[@]}")
--- End diff --
You are right, this is not necessary. I thought the program arguments must
be passed last, but that's obviously not true.
---