Enabling and disabling trash

You can use Cloudera Manager to enable and disable HDFS trash.

  1. Go to the HDFS service.
  2. Click the Configurations tab.
  3. Select Scope > Gateway.
  4. Select or clear the Use Trash checkbox.
    To apply this configuration property to other role groups as needed, edit the value for the appropriate role group.
  5. Restart the cluster and deploy the cluster client configuration.