Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.9.0
-
None
Description
if you try to delete the root directory on s3a, you get politely but firmly told you can't
2016-03-30 12:01:44,924 INFO s3a.S3AFileSystem (S3AFileSystem.java:delete(638)) - s3a cannot delete the root directory
The semantics of rm -rf "/" are defined, they are "delete everything underneath, while preserving the root dir itself".
- s3a needs to support this.
- this skipped through the FS contract tests in AbstractContractRootDirectoryTest; the option of whether deleting / works or not should be made configurable.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-13713 ITestS3AContractRootDir.testRmEmptyRootDirNonRecursive failing intermittently
-
- Resolved
-
- is related to
-
HADOOP-13074 TestS3AContractRootDir#testListEmptyRootDirectory fails with java.io.IOException: Root directory operation rejected
-
- Resolved
-