zhuzhurk commented on issue #10678: [FLINK-15355][plugin] Remove parent first 
from plugin classloader.
URL: https://github.com/apache/flink/pull/10678#issuecomment-570456623
 
 
   Agree with @zentol to have a separate pattern config for plugins and exclude 
hadoop from it. A plugin should never rely on specific libraries (i.e. hadoop) 
in the system classloader. @pnowojski also proposed it in the [JIRA 
FLINK-15355](https://issues.apache.org/jira/browse/FLINK-15355?focusedCommentId=17006836&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17006836).
   
   @wangyang0918 I think each plugin can use 
`PluginDescriptor#loaderExcludePatterns` to specify classes to load from parent 
first (though not ready yet, see 
`DirectoryBasedPluginFinder#createPluginDescriptorForSubDirectory`). It could 
be an optional file for each plugin.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to