hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-431) default behaviour of dfsShell -rm should resemble 'rm -i', not 'rm -rf'
Date Wed, 20 Sep 2006 22:31:24 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-431?page=all ]

Doug Cutting updated HADOOP-431:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

I just committed this.  Thanks, Sameer!

> default behaviour of dfsShell -rm should resemble 'rm -i', not 'rm -rf'
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-431
>                 URL: http://issues.apache.org/jira/browse/HADOOP-431
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.6.2
>            Reporter: Yoram Arnon
>         Assigned To: Sameer Paranjpye
>             Fix For: 0.7.0
>
>         Attachments: rmr.patch.txt
>
>
> when using hadoop dfs -rm <path> the behaviour is like that of rm -rf.
> That's very dangerous.
> A better behaviour would require a confirmation and allow removal of files only by default.
Optional flags would allow recursive and forced deleted.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message