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/11/27 03:14:36 UTC

[jira] [Updated] (YARN-1446) Change killing application to wait until state store is done

     [ https://issues.apache.org/jira/browse/YARN-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jian He updated YARN-1446:
--------------------------

    Attachment: YARN-1446.1.patch

Upload a patch
- Add a new field in KillApplicationResponse to indicate the application is successfully Killed
- Change YarnClient.killApplication to wait until the application is successfully killed.
- Change application kill flow to kill the RMAppAttempt first, and let RMAppAttempt notify RMApp that the app is killed, instead of kill RMApp before killing RMAppAttempt.

> Change killing application to wait until state store is done
> ------------------------------------------------------------
>
>                 Key: YARN-1446
>                 URL: https://issues.apache.org/jira/browse/YARN-1446
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-1446.1.patch
>
>
> When user kills an application, it should wait until the state store is done with saving the killed status of the application. Otherwise, if RM crashes in the middle between user killing the application and writing the status to the store, RM will relaunch this application after it restarts.



--
This message was sent by Atlassian JIRA
(v6.1#6144)