I can empty the trash under my user folder by running hadoop fs -expunge
This eliminates files that are older than the value fs.trash.interval. Is it possible to automatically delete a disk to restore a disk?
I also see the following output when I run expunge
[cloudera@localhost conf]$ hadoop fs -expunge
14/07/17 15:43:54 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 1 minutes, Emptier interval = 0 minutes.
The empty interval is 0, which indicates that automatic cleaning is disabled. Where is this value configured?
source
share