[
https://issues.apache.org/jira/browse/HDFS-4808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652524#comment-13652524
]
Suresh Srinivas commented on HDFS-4808:
---------------------------------------
bq. but I do think they shouldn't be included in the
intended-to-be-very-general FileSystem class
Why cannot this be a general FileSystem functionality? I think this is general
enough. Currently looking at the snapshot related methods added, I do not see
any HDFS specific semantics.
FileSystem currently is both the user API and file system implementors API. I
think file systems that can support snapshots can implement this feature and
file systems that do not can throw unsupported exception.
> Limit snapshot related methods to DistributedFileSystem
> -------------------------------------------------------
>
> Key: HDFS-4808
> URL: https://issues.apache.org/jira/browse/HDFS-4808
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Suresh Srinivas
>
> HDFS-2802 introduces snapshots related methods into FileSystem. This jira is
> for discussing whether these snapshots related methods are needed in
> FileSystem or should be limited to only DistributedFileSystem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira