[
https://issues.apache.org/jira/browse/HDFS-13876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622482#comment-16622482
]
Wei-Chiu Chuang edited comment on HDFS-13876 at 9/20/18 6:25 PM:
-----------------------------------------------------------------
Thanks for the patch. In addition to [~ljain]'s comment here are a few more:
# Make sense to use PUT method for allowSnapshot/disallowSnapshot
# Like HDFS-13916, once HADOOP-15691 completes we should use PathCapabilities
instead.
# We can improve this message "allowSnapshot is only supported on
DistributedFileSystem".
Can we log "allowSnapshot is not supported for HttpFs on " + fs.getClass() + ".
Please check your fs.defaultFS configuration"? This'll help make
troubleshooting easier.
was (Author: jojochuang):
1. Make sense to use PUT method for allowSnapshot/disallowSnapshot
2. Like HDFS-13916, once HADOOP-15691 completes we should use PathCapabilities
instead.
3. We can improve this message "allowSnapshot is only supported on
DistributedFileSystem".
Can we log "allowSnapshot is not supported for HttpFs on " + fs.getClass() + ".
Please check your fs.defaultFS configuration"? This'll help make
troubleshooting easier.
> HttpFS: Implement ALLOWSNAPSHOT, DISALLOWSNAPSHOT
> -------------------------------------------------
>
> Key: HDFS-13876
> URL: https://issues.apache.org/jira/browse/HDFS-13876
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: httpfs
> Affects Versions: 3.1.1, 3.0.3
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Major
> Attachments: HDFS-13876.001.patch
>
>
> Implement ALLOWSNAPSHOT, DISALLOWSNAPSHOT (from HDFS-9057) in HttpFS.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]