[
https://issues.apache.org/jira/browse/FLINK-10165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202057#comment-17202057
]
Matthias commented on FLINK-10165:
----------------------------------
This issue was visited as part of the Engine team's backlog grooming on Sep 25,
2020. The relevant code change is
[JarRunHandler#106https://github.com/apache/flink/commit/fefe866bad47b1c4a2f92eded19bc7a5059f1277#diff-f83b0a6d9d1ab75ac867244111bb6b15R106].
It was moved into
[JarHandlerUtils#207|https://github.com/apache/flink/blob/7381304930a964098df52d9fa79a55241538b301/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/utils/JarHandlerUtils.java#L207]
> 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)