[jira] [Created] (FLINK-23022) Plugin classloader settings do not work as described
Posted by
Shang Yuanchun (Jira) on
Jun 17, 2021; 11:05am
URL: http://deprecated-apache-flink-mailing-list-archive.368.s1.nabble.com/jira-Created-FLINK-23022-Plugin-classloader-settings-do-not-work-as-described-tp51476.html
Dawid Wysakowicz created FLINK-23022:
----------------------------------------
Summary: Plugin classloader settings do not work as described
Key: FLINK-23022
URL:
https://issues.apache.org/jira/browse/FLINK-23022 Project: Flink
Issue Type: Bug
Components: API / Core
Reporter: Dawid Wysakowicz
The options {{plugin.classloader.parent-first-patterns}} are documented as all patterns that are put there should be loaded from the Flink classloader instead of the plugin classloader.
However, the way they work is that they define a set of patterns allowed to be pulled from the parent classloader. The plugin classloader takes precedence in all cases. And a class can be loaded from the parent classloader only if it matches the pattern in one of the aforementioned options.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)