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

Weiwei Yang commented on HADOOP-12371:
--------------------------------------

Hi [~xyao]

For people who knows HDFS well, of cause they can just use commands you 
mentioned. I am suggesting from a normal user angle ...  they would not know 
anything about /user/foo/.Trash at all. Expunge command sets up the expectation 
that HDFS provides utilities to manage trash, then it is pretty straightforward 
to ask for a command removing all trashes.

> Add a force option for hdfs dfs -expunge to remove all check points 
> --------------------------------------------------------------------
>
>                 Key: HADOOP-12371
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12371
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: trash
>    Affects Versions: 2.7.1
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>              Labels: namenode, trash
>
> Hadoop document has that
>  expunge
>     Usage: hdfs dfs -expunge
>     Empty the Trash. 
> However when I run that command. It returns following message from shell 
> output : The configured checkpoint interval is 0 minutes. Using an interval 
> of 360 minutes that is used for deletion instead. Trash is not emptied.



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

Reply via email to