Change the HDFS trash settings in Cloudera Manager
You can tune the amount of time HDFS retains trash to control how much data Operational Database powered by Apache Accumulo (OpDB) saves.
This change is HDFS‐wide and impacts the ability to recover from accidental deletions unrelated to OpDB.
- In Cloudera Manager, select the HDFS service.
- Click Configuration.
- Search for trash.
- Change the Filesystem Trash Interval to a smaller value. For example, 4 hours.
- Save your changes.
- Restart Stale Services with Re-deploy client configuration.