[
https://issues.apache.org/jira/browse/FLINK-7786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-7786.
-----------------------------------
Resolution: Won't Fix
Multiple program arguments should be submitted in the RequestBody via the
{{programArgsList}} parameter.
https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/rest_api.html#jars-jarid-run
> JarActionHandler.tokenizeArguments removes all quotes from program arguments
> ----------------------------------------------------------------------------
>
> Key: FLINK-7786
> URL: https://issues.apache.org/jira/browse/FLINK-7786
> Project: Flink
> Issue Type: Bug
> Components: Runtime / REST
> Affects Versions: 1.3.0
> Reporter: Brice Bingman
> Priority: Minor
>
> I would like to send json as an argument to my program, but when submitting
> it via the REST API, all the quotes in the json are gone, resulting in
> invalid json.
> The JarActionHandler.tokenizeArguments should only remove the leading and
> trailing quotes of an argument, not all of the quotes.
> Current workaround: Replace the quotes in json with an escape character and
> replace them back in the run method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)