[
https://issues.apache.org/jira/browse/HDFS-13879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917978#comment-16917978
]
Siyao Meng commented on HDFS-13879:
-----------------------------------
[~hemanthboyina] It does seem the return value types of getSnapshotDiffReport()
and getSnapshottableDirListing() are making this a bit more complicated.
I'm thinking we could have new classes in hadoop-common, similar to FileStatus
in hadoop-common vs. HdfsFileStatus in hadoop-hdfs-client.
> FileSystem: Add allowSnapshot, disallowSnapshot, getSnapshotDiffReport and
> getSnapshottableDirListing
> -----------------------------------------------------------------------------------------------------
>
> Key: HDFS-13879
> URL: https://issues.apache.org/jira/browse/HDFS-13879
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.1.1
> Reporter: Siyao Meng
> Assignee: hemanthboyina
> Priority: Major
>
> I wonder whether we should add allowSnapshot() and disallowSnapshot() to
> FileSystem abstract class.
> I think we should because createSnapshot(), renameSnapshot() and
> deleteSnapshot() are already part of it.
> Any reason why we don't want to do this?
> Thanks!
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]