Configuring Maximum Attempts for Applications
Describes how to set the maximum number of restart attempts for all applications run by the Data Fabric ResourceManager and the ApplicationMaster.
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 theyarn-site.xml
file. 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 themapred-site.xml
file. The value defaults to 2.