Jian He commented on YARN-2853:

bq. This is not correct. If app accept kill signal from the user, we should not 
continue running the app.
right,  updated the patch to kill the app if this is not the last attempt. if 
the failed attempt is the last attempt, the app state remains failed.

> Killing app may hang while AM is unregistering
> ----------------------------------------------
>                 Key: YARN-2853
>                 URL: https://issues.apache.org/jira/browse/YARN-2853
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-2853.1.patch, YARN-2853.1.patch, YARN-2853.2.patch
> When killing an app, app first moves to KILLING state, If RMAppAttempt 
> receives the attempt_unregister event before attempt_kill event,  it'll 
> ignore the later attempt_kill event.  Hence, RMApp won't be able to move to 
> KILLED state and stays at KILLING state forever.

This message was sent by Atlassian JIRA

Reply via email to