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

Let StandaloneJobClusterEntrypoint use user code class loader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.9.0, 1.10.0
    • None
    • Runtime / Coordination
    • None

    Description

      In order to resolve class loading issues when using the StandaloneJobClusterEntryPoint, it would be better to run the user code in the user code class loader which supports child first class loading. At the moment, the user code jar is part of the system class path and, hence, part of the system class loader.

      An easy way to solve this problem would be to place the user code in a different directory than lib and then specify this path as an additional classpath when creating the PackagedProgram.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: