You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jian He (JIRA)" <ji...@apache.org> on 2013/12/16 20:30:09 UTC

[jira] [Commented] (YARN-1493) Schedulers don't recognize apps separately from app-attempts

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

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.
- Create a new SchedulerApplicationWrapper (will rename this to SchedulerApplication, and rename the current SchedulerApplication to SchedulerApplicationAttempt ). This object is created and kept in scheduler when scheduler receive the Add_App event from RMApp and removed when receive the Remove_app event.


> 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
>
>
> 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.4#6159)