[
https://issues.apache.org/jira/browse/FLINK-10165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias updated FLINK-10165:
-----------------------------
Affects Version/s: 1.10.2
1.11.2
> JarRunHandler/JarRunRequestBody should allow to pass program arguments as
> escaped json list
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-10165
> URL: https://issues.apache.org/jira/browse/FLINK-10165
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / REST
> Affects Versions: 1.6.0, 1.10.2, 1.11.2
> Reporter: Maciej Prochniak
> Priority: Major
>
> Currently program arguments are parsed from plain string:
> [https://github.com/apache/flink/blob/master/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarRunHandler.java#L106]
> It doesn't allow to put quotes or new lines in arguments - in particular it's
> difficult to pass json as argument. I think it would be good to pass
> arguments as json list - then jackson would handle escaping. It'd be a bit
> more problematic for query string parameters... WDYT [~Zentol]?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)