Enable work preserving recovery on NodeManager
Work preserving recovery is enabled by default for the ResourceManager in a Cloudera Manager managed cluster, but not for the NodeManager. Use Cloudera Manager to enable it on the NodeManager.
The default value for the recovery directory is /var/lib/hadoop-yarn/yarn-nm-recovery.