[jira] [Created] (FLINK-12459) YarnConfigOptions#CLASSPATH_INCLUDE_USER_JAR should affect the order of classpath between user jars and flink jar

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

[jira] [Created] (FLINK-12459) YarnConfigOptions#CLASSPATH_INCLUDE_USER_JAR should affect the order of classpath between user jars and flink jar

Shang Yuanchun (Jira)
Victor Wong created FLINK-12459:
-----------------------------------

             Summary: YarnConfigOptions#CLASSPATH_INCLUDE_USER_JAR should affect the order of classpath between user jars and flink jar
                 Key: FLINK-12459
                 URL: https://issues.apache.org/jira/browse/FLINK-12459
             Project: Flink
          Issue Type: Improvement
          Components: Command Line Client
            Reporter: Victor Wong
            Assignee: Victor Wong
         Attachments: image-2019-05-09-15-04-36-360.png

When setting YarnConfigOptions#CLASSPATH_INCLUDE_USER_JAR to "LAST", I think the user jars should come after all flink libs&jars, including "flink.jar".

But actually it's not:

!image-2019-05-09-15-04-36-360.png!

I'm not sure if it's an expected behavior, because if a user forgets to mark Flink dependencies as "provided", it causes conflicts. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)