Maciej Prochniak created FLINK-10165:
----------------------------------------

             Summary: 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: REST
    Affects Versions: 1.6.0
            Reporter: Maciej Prochniak


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
(v7.6.3#76005)

Reply via email to