Anubhav Dhoot created YARN-2196:
-----------------------------------
Summary: Add Application duplicate APP_ACCEPTED events can be
prevented with a flag
Key: YARN-2196
URL: https://issues.apache.org/jira/browse/YARN-2196
Project: Hadoop YARN
Issue Type: Bug
Affects Versions: 2.4.0
Reporter: Anubhav Dhoot
YARN-1365 adds a flag to AddApplicationAttemptSchedulerEvent that prevents a
duplicate ATTEMPT_ADDED event in recovery. We can do something similar to
AddApplicationSchedulerEvent to avoid the following transition.
{code}
// ACCECPTED state can once again receive APP_ACCEPTED event, because on
// recovery the app returns ACCEPTED state and the app once again go
// through the scheduler and triggers one more APP_ACCEPTED event at
// ACCEPTED state.
.addTransition(RMAppState.ACCEPTED, RMAppState.ACCEPTED,
RMAppEventType.APP_ACCEPTED)
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)