You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Guowei Ma (Jira)" <ji...@apache.org> on 2019/09/11 11:04:00 UTC

[jira] [Closed] (FLINK-13840) Let StandaloneJobClusterEntrypoint use user code class loader

     [ https://issues.apache.org/jira/browse/FLINK-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guowei Ma closed FLINK-13840.
-----------------------------
    Resolution: Duplicate

> 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
>            Priority: Major
>             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)