Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.4.0
-
None
-
Reviewed
Description
Found this while reviewing YARN-2074. The problem is that after YARN-2074, we don't count AM preemption towards AM failures on RM side, but MapReduce AM itself checks the attempt id against the max-attempt count to determine if this is the last attempt.
public void computeIsLastAMRetry() {
isLastAMRetry = appAttemptID.getAttemptId() >= maxAppAttempts;
}
This causes issues w.r.t deletion of staging directory etc..