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

Weiwei Yang commented on HADOOP-12374:
--------------------------------------

Thanks [~templedf]

We'd like to keep it short here but informative and let user read the details 
from HDFS architecture guide, I am thinking to revise it to

+Find expired checkpoints in trash directory and remove them if trash is 
enabled. This command does not immediately empty the trash. Refer to the HDFS 
Architecture Guide for more information on the Trash feature.+

Looks better ?


> 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
>            Priority: Trivial
>              Labels: docuentation, newbie, suggestions, trash
>         Attachments: HADOOP-12374.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