[
https://issues.apache.org/jira/browse/MAPREDUCE-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhijie Shen updated MAPREDUCE-5505:
-----------------------------------
Attachment: MAPREDUCE-5505.3.patch
Thanks Jian and Bikas for the comments. I've uploaded a new patch, which uses
atomic boolean instead. It is placed at MRAppMaster, and exposed through
AppContext, as other variables are. As the flag is put in MRAppMaster, instead
of setting it in ClientService#serviceStop(), MRAppMaster#shutDownJob(), where
other services have been stopped already, and ClientService is to be stopped.
Therefore, it should be equivalent to what Bikas proposed, but simplify the
code.
> Clients should be notified job finished only after job successfully
> unregistered
> ---------------------------------------------------------------------------------
>
> Key: MAPREDUCE-5505
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5505
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Zhijie Shen
> Attachments: MAPREDUCE-5505.1.patch, MAPREDUCE-5505.1.patch,
> MAPREDUCE-5505.3.patch
>
>
> This is to make sure user is notified job finished after job is really done.
> This does increase client latency but can reduce some races during unregister
> like YARN-540
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira