rohithsharma created YARN-907: --------------------------------- Summary: MRAppMaster failed to initialize second attempt when first attempt is FAILED. Key: YARN-907 URL: https://issues.apache.org/jira/browse/YARN-907 Project: Hadoop YARN Issue Type: Bug Affects Versions: 2.0.5-alpha Environment: SuSeLinux , HDFS HA cluster. Reporter: rohithsharma
configuration : yarn.resourcemanager.am.max-retries = 3 It is observed that , 1. MRAppMaster is failed start services and exitted with shutdownhook running. As part of shutdownhook execution staging directory is deleted from hdfs. 2. New attempt has been spawned from the ResourceManager.But second attempt is failed throwing FileNotFoundException because in the first attempt shutdownhook, staging directory is deleted. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira