You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/03 04:18:36 UTC

[GitHub] [flink] zhuzhurk commented on issue #10678: [FLINK-15355][plugin] Remove parent first from plugin classloader.

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:
users@infra.apache.org


With regards,
Apache Git Services