[
https://issues.apache.org/jira/browse/HDFS-9057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954885#comment-14954885
]
Vinayakumar B commented on HDFS-9057:
-------------------------------------
Hi [~brahmareddy],
Thanks for updating the patch.
For allow/disallow ops, you can also add a test like below.
1. AllowSnapshots using webhdfs and check whether
dfs.getSnapshottableDirListing() lists new snapshottable dir?
2. DisallowSnapshots using webhdfs and check again
dfs.getSnapshottableDirListing(), it should not list now.
Rest all looks good.
[~wheat9], do you want to take a look?
> allow/disallow snapshots via webhdfs
> ------------------------------------
>
> Key: HDFS-9057
> URL: https://issues.apache.org/jira/browse/HDFS-9057
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: webhdfs
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Assignee: Brahma Reddy Battula
> Attachments: HDFS-9057-002.patch, HDFS-9057.patch
>
>
> We should be able to allow and disallow directories for snapshotting via
> WebHDFS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)