hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12371) Add a force option for hdfs dfs -expunge to remove all check points
Date Wed, 02 Sep 2015 06:59:46 GMT

    [ 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)

Mime
View raw message