Support Questions

Find answers, ask questions, and share your expertise

Retain deleted files for 7 days in my filesystem

New Contributor

I have a cloudera cluster CDH 6.1. I want to retain the deleted files in my filesystem for 7 days. This is just to protect the data from accidental data loss.

Suggest me the possible solution.




Expert Contributor



You can set the retention period for HDFS data by configuring the trash interval. Refer below document for details.


Hope this helps,


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.