Wangda Tan created YARN-4968:
--------------------------------
Summary: 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
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)