[
https://issues.apache.org/jira/browse/HADOOP-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487852
]
Owen O'Malley commented on HADOOP-1236:
---------------------------------------
-1
This is what the trashcan in fs shell was designed for.
> hadoop dfs -rmr dir should ask the user to confirm before deleting the dir
> --------------------------------------------------------------------------
>
> Key: HADOOP-1236
> URL: https://issues.apache.org/jira/browse/HADOOP-1236
> Project: Hadoop
> Issue Type: Improvement
> Components: dfs
> Reporter: Runping Qi
>
> The current behavior is very dangerous.
> Imagine somebody type in
> hadoop dfs -rmr /
> and then accidentally hit the return key.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.