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

Bikas Saha commented on YARN-1618:
----------------------------------

How can an app finish before it has been saved in the store? In case that is 
happening then its probably a bug. An application that hasnt entered the 
ACCEPTED state is not present in the store. So if it fails in that state then 
it should be forgotten immediately. The store should not get a notification to 
save that app.
The contract with the user is that the app has to be in ACCEPTED state before 
it becomes resilient to RM restart.

> ZKRMStateStore fails to handle updates to znodes not yet created
> ----------------------------------------------------------------
>
>                 Key: YARN-1618
>                 URL: https://issues.apache.org/jira/browse/YARN-1618
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.2.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>            Priority: Critical
>
> ZKRMStateStore fails to handle updates to znodes that don't exist. For 
> instance, this can happen when an app transitions from NEW to FINAL_SAVING. 
> In these cases, the store should create the missing znode and handle the 
> update.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to