You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2020/12/24 06:54:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-20759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254434#comment-17254434 ] 

Yang Wang commented on FLINK-20759:
-----------------------------------

Hmm. Maybe using a single quote could help in such situation.

{{-Dyarn.ship-files='/aaa/bbb/xxx;/aaa/bbb/yyy;/aaa/bbb/zzz'}}

> 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
>            Priority: Major
>              Labels: pull-request-available
>             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)