[ 
https://issues.apache.org/jira/browse/HADOOP-12374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated HADOOP-12374:
-------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1 I just committed this.  Thank you WeiWei.

> Description of hdfs expunge command is confusing
> ------------------------------------------------
>
>                 Key: HADOOP-12374
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12374
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation, trash
>    Affects Versions: 2.7.0, 2.7.1
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>              Labels: docuentation, newbie, suggestions, trash
>         Attachments: HADOOP-12374.001.patch, HADOOP-12374.002.patch, 
> HADOOP-12374.003.patch, HADOOP-12374.004.patch
>
>
> Usage: hadoop fs -expunge
> Empty the Trash. Refer to the HDFS Architecture Guide for more information on 
> the Trash feature.
> this description is confusing. It gives user the impression that this command 
> will empty trash, but actually it only removes old checkpoints. If user sets 
> a pretty long value for fs.trash.interval, this command will not remove 
> anything until checkpoints exist longer than this value.



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

Reply via email to