GitHub user aljoscha opened a pull request:
https://github.com/apache/flink/pull/4891
[FLINK-7669] Always load Flink classes via parent ClassLoader
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/flink
jira-7669-classloader-fix-flink-always-parent
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4891.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4891
----
commit 6ed8bd2b51676bbbd199fcd452136de99445aba4
Author: Aljoscha Krettek <[email protected]>
Date: 2017-10-23T15:03:21Z
[FLINK-7669] Always load Flink classes via parent ClassLoader
Before, when setting classloader.resolve-order Flink classes where also
resolved via the child ClassLoader which could lead to problems if the
user-jar contains copies of Flink classes. This change introduces a new
setting classloader.always-parent-first-patterns, which is
"org.apache.flink" by default. Classes that match this pattern will
always be resolved by the parent first, even when using the child-first
ClassLoader.
commit dda0dc6247e53724177d7754ae7add91f0697082
Author: Aljoscha Krettek <[email protected]>
Date: 2017-10-23T15:05:57Z
[FLINK-7669] Add ClassLoader resolution order to classloader doc
----
---