[
https://issues.apache.org/jira/browse/FLINK-9866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547517#comment-16547517
]
ASF GitHub Bot commented on FLINK-9866:
---------------------------------------
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/6344#discussion_r203284749
--- 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 --
Why is this change necessary? `ARGS` should already contain the remaining
command line arguments.
> Allow passing program arguments to StandaloneJobCluster
> -------------------------------------------------------
>
> Key: FLINK-9866
> URL: https://issues.apache.org/jira/browse/FLINK-9866
> Project: Flink
> Issue Type: Bug
> Components: Distributed Coordination
> Affects Versions: 1.6.0
> Reporter: Dawid Wysakowicz
> Assignee: Dawid Wysakowicz
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> Right now always an empty array is passed as arguments to
> {{StandaloneJobClusterEntryPoint}}. Should pass the parsed arguments. Also we
> should extend run and docker scripts to allow passing arguments.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)