[
https://issues.apache.org/jira/browse/FLINK-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548042#comment-14548042
]
ASF GitHub Bot commented on FLINK-1920:
---------------------------------------
GitHub user rmetzger opened a pull request:
https://github.com/apache/flink/pull/689
[FLINK-1920] Properly pass command line arguments with spaces to Flink
The actual issue was that we were using `$*` to pass the command line
arguments from the scripts to the JVM. It seems that we have to use `"$@` so
that arguments with spaces are passed properly.
I've tested this change with `./bin/yarn-session.sh -n 2 -D
"akka.ask.timeout=5 min"` (note the space in the configuration value.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmetzger/flink flink1920
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/689.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #689
----
commit 176323899deac0f3438e6029722846c167f2d967
Author: Robert Metzger <[email protected]>
Date: 2015-05-18T12:24:38Z
[FLINK-1920] Properly pass command line arguments with spaces to Flink
----
> Passing -D akka.ask.timeout=5 min to yarn client does not work
> --------------------------------------------------------------
>
> Key: FLINK-1920
> URL: https://issues.apache.org/jira/browse/FLINK-1920
> Project: Flink
> Issue Type: Bug
> Components: YARN Client
> Affects Versions: 0.9
> Reporter: Robert Metzger
> Assignee: Robert Metzger
>
> Thats probably an issue of the command line parsing.
> Variations like -D "akka.ask.timeout=5 min" or -D akka.ask.timeout="5 min"
> are also not working.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)