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-attemptsin theyarn-site.xmlfile. The value defaults to 2. -
To configure the number of ApplicationMaster attempts allowed for the MapReduce
ApplicationMaster:
Set the value of
mapreduce.am.max-attemptsin themapred-site.xmlfile. The value defaults to 2.