Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.9.0, 1.10.0
-
None
-
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
- is duplicated by
-
FLINK-13993 Using FlinkUserCodeClassLoaders to load the user class in the perjob mode
- Closed