[jira] [Created] (FLINK-13840) Let StandaloneJobClusterEntryPoint use user code class loader

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

[jira] [Created] (FLINK-13840) Let StandaloneJobClusterEntryPoint use user code class loader

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-13840:
-------------------------------------

             Summary: Let StandaloneJobClusterEntryPoint use user code class loader
                 Key: FLINK-13840
                 URL: https://issues.apache.org/jira/browse/FLINK-13840
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.9.0, 1.10.0
            Reporter: Till Rohrmann
             Fix For: 1.10.0


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}}.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)