Enable High Availability
You can enable YARN ResourceManager High Availability using Cloudera Manager.
When you enable ResourceManager HA in Cloudera Manager, work preserving recovery is also enabled for the ResourceManager by default.
ResourceManager HA does not affect the JobHistory Server (JHS). JHS does not maintain any state, so if the host fails you can simply assign it to a new host.
If you want to enable process auto-restart, do the following: