flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brice Bingman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7786) JarActionHandler.tokenizeArguments removes all quotes from program arguments
Date Mon, 09 Oct 2017 16:11:00 GMT
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)

Mime
View raw message