[
https://issues.apache.org/jira/browse/YARN-4968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250726#comment-15250726
]
Li Lu commented on YARN-4968:
-----------------------------
Fix makes sense. +1.
> 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: Bug
> Reporter: Wangda Tan
> Assignee: Wangda Tan
> 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)