[
https://issues.apache.org/jira/browse/MAPREDUCE-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhijie Shen updated MAPREDUCE-5562:
-----------------------------------
Attachment: MAPREDUCE-5562.10.patch
Fix one more related issue in MRAppMaster:
{code}
JobReport report = job.getReport();
// If unregistration fails, the final state is unavailable. However,
// at the last AM Retry, the client will finally be notified FAILED
// from RM, so we should let users know FAILED via notifier as well
if (!context.hasSuccessfullyUnregistered()) {
report.setJobState(JobState.FAILED);
}
notifier.notify(report);
{code}
If AM is the last retry, and the unregistration fails, AM should notify users
of FAILED instead of the non final states or the other final states, because
the client will see the same thing from RM.
> MR AM should exit when unregister() throws exception
> ----------------------------------------------------
>
> Key: MAPREDUCE-5562
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5562
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Reporter: Zhijie Shen
> Assignee: Zhijie Shen
> Attachments: MAPREDUCE-5562.10.patch, MAPREDUCE-5562.1.patch,
> MAPREDUCE-5562.2.patch, MAPREDUCE-5562.3.patch, MAPREDUCE-5562.5.patch,
> MAPREDUCE-5562.6.patch, MAPREDUCE-5562.7.patch, MAPREDUCE-5562.8.patch,
> MAPREDUCE-5562.9.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)