hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12977) s3a ignores delete("/", true)
Date Wed, 05 Oct 2016 13:29:20 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15548701#comment-15548701
] 

Hadoop QA commented on HADOOP-12977:
------------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  7s{color} | {color:red}
HADOOP-12977 does not apply to branch-2. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HADOOP-12977 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12831746/HADOOP-12977-branch-2-003.patch
|
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/10669/console |
| Powered by | Apache Yetus 0.4.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> 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
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-12977-001.patch, HADOOP-12977-002.patch, HADOOP-12977-branch-2-002.patch,
HADOOP-12977-branch-2-002.patch, HADOOP-12977-branch-2-003.patch, HADOOP-12977-branch-2-003.patch
>
>
> if you try to delete the root directory on s3a, you get politely but firmly told you
can't
> {code}
> 2016-03-30 12:01:44,924 INFO  s3a.S3AFileSystem (S3AFileSystem.java:delete(638)) - s3a
cannot delete the root directory
> {code}
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message