[
https://issues.apache.org/jira/browse/HADOOP-12358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715427#comment-14715427
]
Allen Wittenauer commented on HADOOP-12358:
-------------------------------------------
bq. What if these are not configured or not configured correctly by ops and
used correctly by users (-skipTrash)?
Then it sucks to be them. Should we also fail to bring up the namenode if only
one namenode dir is configured?
Again, it's impossible to protect against every possible failure scenario.
Education and better (human) processes go for a long ways towards make Hadoop
usable.
bq. The purpose of this JIRA is to protect/warn against bulk deletion only on
misconfigured cluster (without trash/snapshot) or misuse (trash is skipped),
which is hard to recover.
Who are we to judge whether my cluster is misconfigured in this case? Do you
understand the use cases?
> FSShell should prompt before deleting directories bigger than a configured
> size
> -------------------------------------------------------------------------------
>
> Key: HADOOP-12358
> URL: https://issues.apache.org/jira/browse/HADOOP-12358
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Attachments: HADOOP-12358.00.patch, HADOOP-12358.01.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)