You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/11/06 15:51:36 UTC

[GitHub] [incubator-streampark] macksonmu opened a new issue, #1973: [Bug] When a newline is included in the Program Args of the application, it will cause a parsing error of Flink's ParameterTool class

macksonmu opened a new issue, #1973:
URL: https://github.com/apache/incubator-streampark/issues/1973

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   When a newline is included in the Program Args of the application, it will cause a parsing error of Flink's ParameterTool class
   
   ### StreamPark Version
   
   1.2.4
   
   ### Java Version
   
   jdk8
   
   ### Flink Version
   
   1.14.3
   
   ### Scala Version of Flink
   
   2.12
   
   ### Error Exception
   
   ```log
   Caused by: org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: Error parsing arguments '[--a, b, --b, c, ]' on ''. Please prefix keys with -- or -.
   	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372)
   	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
   	at org.apache.flink.client.program.PackagedProgramUtils.getPipelineFromProgram(PackagedProgramUtils.java:158)
   	at org.apache.flink.client.program.PackagedProgramUtils.createJobGraph(PackagedProgramUtils.java:82)
   	at org.apache.streampark.flink.submit.trait.FlinkSubmitTrait$class.getJobGraph(FlinkSubmitTrait.scala:176)
   	at org.apache.streampark.flink.submit.impl.YarnPerJobSubmit$.doSubmit(YarnPerJobSubmit.scala:83)
   	at org.apache.streampark.flink.submit.trait.FlinkSubmitTrait$class.submit(FlinkSubmitTrait.scala:114)
   	at org.apache.streampark.flink.submit.impl.YarnPerJobSubmit$.submit(YarnPerJobSubmit.scala:39)
   	at org.apache.streampark.flink.submit.FlinkSubmit$.submit(FlinkSubmit.scala:32)
   	at org.apache.streampark.flink.submit.FlinkSubmit.submit(FlinkSubmit.scala)
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] wolfboys closed issue #1973: [Bug] When a newline is included in the Program Args of the application, it will cause a parsing error of Flink's ParameterTool class

Posted by GitBox <gi...@apache.org>.
wolfboys closed issue #1973: [Bug] When a newline is included in the Program Args of the application, it will cause a parsing error of Flink's ParameterTool class
URL: https://github.com/apache/incubator-streampark/issues/1973


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] macksonmu closed issue #1973: [Bug] When a newline is included in the Program Args of the application, it will cause a parsing error of Flink's ParameterTool class

Posted by GitBox <gi...@apache.org>.
macksonmu closed issue #1973: [Bug] When a newline is included in the Program Args of the application, it will cause a parsing error of Flink's ParameterTool class
URL: https://github.com/apache/incubator-streampark/issues/1973


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org