[jira] [Created] (FLINK-20759) The separator causes job submission to fail through the flink command line

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

[jira] [Created] (FLINK-20759) The separator causes job submission to fail through the flink command line

Shang Yuanchun (Jira)
Ruguo Yu created FLINK-20759:
--------------------------------

             Summary: The separator causes job submission to fail through the flink command line
                 Key: FLINK-20759
                 URL: https://issues.apache.org/jira/browse/FLINK-20759
             Project: Flink
          Issue Type: Bug
          Components: Client / Job Submission
    Affects Versions: 1.12.0
            Reporter: Ruguo Yu
             Fix For: 1.13.0


Flink has some configuration options use semicolon to split multiple value content such as yarn.provided.lib.dirs, yarn.ship-archives, yarn.ship-files, etc. for example: yarn.ship-files=/aaa/bbb/xxx;/aaa/bbb/yyy;/aaa/bbb/zzz

If this kind configuration options (a semicolon-separated list) is set in the flink-conf.yaml file and it is ok to submit a job via a script command line(such as bin/flink run-application -t yarn-application ......), however it is wrong if set use -D in script command line(suh as bin/flink run-application -t yarn-application -Dyarn.ship-files=/aaa/bbb/xxx;/aaa/bbb/yyy;/aaa/bbb/zzz ......), because the semicolon will cause the script to end and submit job fail.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)