It is possible.. You can set the number of attempts to be launched in case of 
AM failures.
yarn.resourcemanager.am.max-attempts. Default is 2, you can increase it. This 
is at global level.
Per application level, you need to send in ApplicationSubmissionContext# 
setMaxAppAttempts

Thanks & Regards
Rohith Sharma K S

From: Sridhar Chellappa [mailto:schellap2...@gmail.com]
Sent: 19 August 2015 14:55
To: user@hadoop.apache.org
Subject: How to auto relaunch a YARN Application Master on a failure?

Is this possible? If yes, can someone get back to me as to how?

Reply via email to