Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Problem
-
0.23.0, 2.0.0-alpha
-
None
-
None
Description
If a task attempt begins committing but the AM crashes before the task attempt completes then we could end up having the task commit again when the AM is relaunched. The subsequent AM attempt will not see the task having completed, so it will re-run the task and it will commit again. The output committer is user code, and the task commit may not be something repeatable. Therefore we should treat an AM crash during a task attempt commit the same as we do for a commit failure by the task attempt, i.e.: the task should fail since we do not know how to recover from a commit failure.
This is similar to MAPREDUCE-4819, as this involves commit at the task level and that involves commit at the job-level.
Attachments
Issue Links
- is related to
-
MAPREDUCE-4832 MR AM can get in a split brain situation
- Closed
- relates to
-
MAPREDUCE-4819 AM can rerun job after reporting final job status to the client
- Closed