Configuring Maximum Attempts for Applications
About this task
Procedure
-
To configure the maximum number of ApplicationMaster attempt retries for all
applications run by the ResourceManager:
Set the value of
yarn.resourcemanager.am.max-attempts
in yarn-site.xml. The value defaults to 2. -
To configure the number of ApplicationMaster attempts allowed for the MapReduce
ApplicationMaster:
Set the value of
mapreduce.am.max-attempts
in mapred-site.xml. The value defaults to 2.