You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2015/09/02 08:59:46 UTC
[jira] [Commented] (HADOOP-12371) Add a force option for hdfs dfs
-expunge to remove all check points
[ https://issues.apache.org/jira/browse/HADOOP-12371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726862#comment-14726862 ]
Xiaoyu Yao commented on HADOOP-12371:
-------------------------------------
Why not using existing cmd to achieve that, e.g., 'hdfs dfs -rm -r /user/foo/.Trash' ?
Or using '-skipTrash' in your jobs to avoid putting it in trash at all.
> 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)