hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-12977) s3a ignores delete("/", true)
Date Wed, 30 Mar 2016 12:07:25 GMT
Steve Loughran created HADOOP-12977:

             Summary: s3a ignores delete("/", true)
                 Key: HADOOP-12977
                 URL: https://issues.apache.org/jira/browse/HADOOP-12977
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 2.9.0
            Reporter: Steve Loughran

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.

This message was sent by Atlassian JIRA

View raw message