Details
Description
Right now user's default max AM attempts is set to the same as global max AM attempts:
int globalMaxAppAttempts = conf.getInt(YarnConfiguration.RM_AM_MAX_ATTEMPTS, YarnConfiguration.DEFAULT_RM_AM_MAX_ATTEMPTS);
If we want to increase global max AM attempts, it will also increase the default. So we should create a separate global AM max attempts config to separate the two.