[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764201#comment-13764201
 ] 

Hudson commented on MAPREDUCE-5497:
-----------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #329 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/329/])
MAPREDUCE-5497. Changed MRAppMaster to sleep only after doing everything else 
but just before ClientService to avoid race conditions during RM restart. 
Contributed by Jian He. (vinodkv: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1521699)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/MRAppMaster.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/client/ClientService.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/client/MRClientService.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/MRApp.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/TestMRAppComponentDependencies.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/TestStagingCleanup.java

                
> '5s sleep'  in MRAppMaster.shutDownJob is only needed before stopping 
> ClientService
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5497
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5497
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>             Fix For: 2.1.1-beta
>
>         Attachments: MAPREDUCE-5497.1.patch, MAPREDUCE-5497.1.patch, 
> MAPREDUCE-5497.2.patch, MAPREDUCE-5497.patch
>
>
> Since the '5s sleep' is for the purpose to let clients know the final states, 
> put it after other services are stopped and only before stopping 
> ClientService is enough. This can reduce some race conditions like 
> MAPREDUCE-5471

--
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

Reply via email to