[
https://issues.apache.org/jira/browse/FLINK-15219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arvid Heise updated FLINK-15219:
--------------------------------
Description:
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.
was:
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
> 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)