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.

  1. In Cloudera Manager, select the HDFS service.
  2. Click Configuration.
  3. Search for trash.
  4. Change the Filesystem Trash Interval to a smaller value. For example, 4 hours.
  5. Save your changes.
  6. Restart Stale Services with Re-deploy client configuration.