hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12358) Add -safely flag to rm to prompt when deleting many files
Date Fri, 04 Sep 2015 20:51:46 GMT

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

Andrew Wang commented on HADOOP-12358:
--------------------------------------

Thanks of course to [~xyao] [~aw] and all for working on this and help reviewing!

> Add -safely flag to rm to prompt when deleting many files
> ---------------------------------------------------------
>
>                 Key: HADOOP-12358
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12358
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12358.00.patch, HADOOP-12358.01.patch, HADOOP-12358.02.patch,
HADOOP-12358.03.patch, HADOOP-12358.04.patch, HADOOP-12358.05.patch, HADOOP-12358.06.patch,
HADOOP-12358.07.patch
>
>
> We have seen many cases with customers deleting data inadvertently with -skipTrash. The
FSShell should prompt user if the size of the data or the number of files being deleted is
bigger than a threshold even though -skipTrash is being used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message