You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Siyao Meng (JIRA)" <ji...@apache.org> on 2018/09/24 22:08:00 UTC

[jira] [Commented] (HDFS-13879) FileSystem: Add allowSnapshot, disallowSnapshot, getSnapshotDiffReport and getSnapshottableDirListing

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

Siyao Meng commented on HDFS-13879:
-----------------------------------

Offline discussion with [~jojochuang] concludes that we should add getSnapshottableDirListing() as well since DistributedFileSystem has it.

BTW WebHDFS API has a different naming for it (getSnapshottableDirectoryList vs getSnapshottableDirListing), might rename and deprecate the WebHDFS API name in the future.

> 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
>            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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org