Details
Description
FSOperations.toJsonInner() doesn't check the "snapshot enabled" bit. Therefore, "fs.getFileStatus(path).isSnapshotEnabled()" will always return false for fs type HttpFSFileSystem/WebHdfsFileSystem/SWebhdfsFileSystem. Additional tests in BaseTestHttpFSWith will be added to prevent this from happening.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-13876 HttpFS: Implement ALLOWSNAPSHOT, DISALLOWSNAPSHOT
- Resolved
- is blocked by
-
HDFS-13838 WebHdfsFileSystem.getFileStatus() won't return correct "snapshot enabled" status
- Resolved
- is caused by
-
HDFS-12455 WebHDFS - Adding "snapshot enabled" status to ListStatus query result.
- Resolved