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

Arvid Heise commented on FLINK-15219:
-------------------------------------

You simply add a plugins folder to your working directory and add the plugins 
in it. Then the code fragment above already works as expected.

> 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