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

Hudson commented on YARN-2191:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1784 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1784/])
YARN-2191. Added a new test to ensure NM will clean up completed applications 
in the case of RM restart. Contributed by Wangda Tan (jianhe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1604949)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestApplicationCleanup.java


> Add a test to make sure NM will do application cleanup even if RM restarting 
> happens before application completed
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2191
>                 URL: https://issues.apache.org/jira/browse/YARN-2191
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>             Fix For: 2.5.0
>
>         Attachments: YARN-2191.patch, YARN-2191.patch, YARN-2191.patch, 
> YARN-2191.patch
>
>
> In YARN-1885, there's a test in 
> TestApplicationCleanup#testAppCleanupWhenRestartedAfterAppFinished. However, 
> we need one more test to make sure NM will do app cleanup when restart 
> happens before app finished. The sequence is,
> 1. Submit app1 to RM1
> 2. NM1 launches app1's AM (container-0), NM2 launches app1's task containers.
> 3. Restart RM1
> 4. Before RM1 finishes restarting, container-0 completed in NM1
> 5. RM1 finishes restarting, NM1 report container-0 completed, app1 will be 
> completed
> 6. RM1 should be able to notify NM1/NM2 to cleanup app1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to