[ https://issues.apache.org/jira/browse/FLINK-22361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325452#comment-17325452 ]
Yang Wang commented on FLINK-22361: ----------------------------------- If you want to ship jars/files, then you should use {{yarn.ship-files}}. {code:java} -C,--classpath <url> Adds a URL to each user code classloader on all nodes in the cluster. The paths must specify a protocol (e.g. file://) and be accessible on all nodes (e.g. by means of a NFS share). You can use this option multiple times for specifying more than one URL. The protocol must be supported by the {@link java.net.URLClassLoader}. {code} > 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: Blocker > > 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)