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

Junping Du commented on YARN-4968:
----------------------------------

The same issue also happens in 
TestRMRestart#testRMRestartWaitForPreviousAMToFinish. Filed YARN-5416 to fix it.

> A couple of AM retry unit tests need to wait SchedulerApplicationAttempt 
> stopped.
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-4968
>                 URL: https://issues.apache.org/jira/browse/YARN-4968
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>             Fix For: 2.9.0
>
>         Attachments: YARN-4968.1.patch
>
>
> Noticed some unit tests, for example:
> TestRMRestart#testRMRestartAfterPreemption
> TestAMRestart#testShouldNotCountFailureToMaxAttemptRetry
> Sometimes failure because retrying app attempt registers before the previous 
> scheduler-application-attempt completely completed in scheduler.
> We need to wait scheduler-application-attempt stop before retrying following 
> attempts. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to