Configuring debug delay

You can keep the application’s localized files and log directory on the local disk for a predefined time before the NodeManager deletes them.

This feature can be useful for example when there is a problem with the log aggregation feature or if you want to diagnose YARN application issues.

  1. In Cloudera Manager, select the YARN service.
  2. Click the Configuration tab.
  3. Search for deletion delay.
  4. Find the Localized Dir Deletion Delay property.
  5. Define the delay time in seconds.
    If you want to diagnose YARN application issues, set this property to a large value, for example to 600 seconds, to permit examination of these directories.
  6. Click Save Changes.