You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2021/06/17 11:05:00 UTC

[jira] [Created] (FLINK-23022) Plugin classloader settings do not work as described

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)