[ https://issues.apache.org/jira/browse/YARN-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857672#comment-13857672 ]
Jian He commented on YARN-1493: ------------------------------- New patch changes: - Make schedulers send the App_accepted/App_rejected event to the RMApp instead of RMAppAttempt. - Create two new events AppAddedSchedulerEvent and AppRemovedSchedulerEvent for adding and removing apps in the schedulers. - Change the state transition to start a new attempt until the app is accepted by the scheduler. - Rename SchedulerApplication to SchedulerApplicationAttempt, and created a new SchedulerApplication for keeping track of the app-specific info. > Schedulers don't recognize apps separately from app-attempts > ------------------------------------------------------------ > > Key: YARN-1493 > URL: https://issues.apache.org/jira/browse/YARN-1493 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Jian He > Assignee: Jian He > Attachments: YARN-1493.1.patch, YARN-1493.2.patch, YARN-1493.3.patch, > YARN-1493.4.patch, YARN-1493.5.patch, YARN-1493.6.patch, YARN-1493.7.patch > > > Today, scheduler is tied to attempt only. > We need to separate app-level handling logic in scheduler. We can add new > app-level events to the scheduler and separate the app-level logic out. This > is good for work-preserving AM restart, RM restart, and also needed for > differentiating app-level metrics and attempt-level metrics. -- This message was sent by Atlassian JIRA (v6.1.5#6160)