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

Yang Wang commented on FLINK-22361:
-----------------------------------

It is called {{yarn.ship-directories}} before release 1.12 and has the same 
effect with {{-yt}} cli option.
{code:java}
     -yt,--yarnship <arg>                 Ship files in the specified directory
                                          (t for transfer)
{code}
I am not sure what do you mean about "yarn.ship-files cannot be dynamically 
replaced"? If you are using {{-m yarn-cluster}} to validate the 
{{FlinkYarnSessionCli}}, then you should use {{-yD yarn.ship-files=xxx.jar}}, 
not {{-D}}.

> flink run -c not upload udf jar
> -------------------------------
>
>                 Key: FLINK-22361
>                 URL: https://issues.apache.org/jira/browse/FLINK-22361
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client
>    Affects Versions: 1.11.1
>            Reporter: todd
>            Priority: Minor
>
> flink  run   \
> -m yarn-cluster \
> -C file:///xxxx/flink-demo-1.0.jar \
> xxxxx
>  
> flink-demo-1.0.jar not in classpath, will throw class not find error
>  



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

Reply via email to