[
https://issues.apache.org/jira/browse/FLINK-12998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882711#comment-16882711
]
Piotr Nowojski edited comment on FLINK-12998 at 7/11/19 7:41 AM:
-----------------------------------------------------------------
Just for the record, as per the discussion
https://issues.apache.org/jira/browse/FLINK-11956 the documentation should
contain the deprecation warning:
We are deprecate current implementations (shaded) of non plugin FileSystems in
1.9 and already encourage users to switch to plugins so we can remove the
shading of Flink provided FileSystems in 1.10. There are currently no plans for
dropping the non plugin FileSystem loading code path, so 3rd party non plugin
FileSystems will be supported.
was (Author: pnowojski):
Just for the record, the documentation should contain the deprecation warning:
We are deprecate current implementations (shaded) of non plugin FileSystems in
1.9 and already encourage users to switch to plugins so we can remove the
shading of Flink provided FileSystems in 1.10. There are currently no plans for
dropping the non plugin FileSystem loading code path, so 3rd party non plugin
FileSystems will be supported.
> Document Plugins mechanism
> --------------------------
>
> Key: FLINK-12998
> URL: https://issues.apache.org/jira/browse/FLINK-12998
> Project: Flink
> Issue Type: Sub-task
> Components: FileSystems
> Affects Versions: 1.9.0
> Reporter: Piotr Nowojski
> Assignee: Alex
> Priority: Blocker
> Fix For: 1.9.0
>
>
> Plugins mechanism must be documented before the release. We should write down:
> * benefits
> * how to use existing FileSystem plugins
> * how to implement an own custom FileSystem plugin
> * potential issues of relaying on
> {{Thread.currentThread().getContextClassLoader()}} (currently it's set only
> for {{FileSystemFactory}} class loading and {{FileSystemFactory#create()}}
> method call - if a {{FileSystem}} is accessing {{getContextClassLoader}}
> during runtime (write/reading) it will not work properly as a plugin.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)