[ 
https://issues.apache.org/jira/browse/FLINK-15219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994688#comment-16994688
 ] 

Chesnay Schepler commented on FLINK-15219:
------------------------------------------

How would plugins work anyway in a local environment? With no dedicated jars 
being present, nor any environment variable being set, how would you create a 
(useful) plugin classloader?

> LocalEnvironment is not initializing plugins
> --------------------------------------------
>
>                 Key: FLINK-15219
>                 URL: https://issues.apache.org/jira/browse/FLINK-15219
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: Arvid Heise
>            Priority: Major
>
> Currently, plugins cannot be used in `LocalEnvironment` as `FileSystem`s are 
> only initialized without `PluginManager`. In all other environments, the 
> plugin manager is initialized in `TaskManagerRunner`.
>  
> That means unless a user manually adds
> {code:java}
>    final Configuration configuration = new Configuration();
>    FileSystem.initialize(configuration, 
> PluginUtils.createPluginManagerFromRootFolder(configuration));
> {code}
> to his entry point, he cannot use plugins, which means no s3 filesystems 
> after FLINK-11956.
> We should add the proper initialization to the LocalExecutionEnvironment (at 
> LocalExecutor?), so that the user does not have to it manually.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to