官网有的:先进入配置选项,然后namenode,然后找到 Filesystem Trash Interval 属性
英文如下
Setting the Trash Interval[size=0.6em]- Go to the HDFS service.
- Click the Configuration tab.
- Select Scope > NameNode.
- Specify the Filesystem Trash Interval property, which controls the number of minutes after which a trash checkpoint directory is deleted and the number of minutes between trash checkpoints. For example, to enable trash so that deleted files are deleted after 24 hours, set the value of the Filesystem Trash Interval property to 1440.Note: The trash interval is measured from the point at which the files are moved to trash, not from the last time the files were modified.
- Click Save Changes to commit the changes.
- Restart all NameNodes.
类似帖子如何通过cloudera manager开启回收站并设置删除时间
http://www.aboutyun.com/forum.php?mod=viewthread&tid=14487
|