Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12459

YarnConfigOptions#CLASSPATH_INCLUDE_USER_JAR should affect the order of classpath between user jars and flink jars

    XMLWordPrintableJSON

    Details

      Description

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

      But actually it's not:

      org.apache.flink.yarn.AbstractYarnClusterDescriptor#startAppMaster

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

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor-wong Victor Wong
                Reporter:
                victor-wong Victor Wong
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m