[jira] [Created] (FLINK-7786) JarActionHandler.tokenizeArguments removes all quotes from program arguments

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7786) JarActionHandler.tokenizeArguments removes all quotes from program arguments

Shang Yuanchun (Jira)
Brice Bingman created FLINK-7786:
------------------------------------

             Summary: 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
    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
(v6.4.14#64029)