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

Xuan Gong commented on YARN-1445:
---------------------------------

[~jlowe]  Thanks for the explanation.

When the AM did the unregister, the RMApp and RMAppAttempt will go to the 
Finishing state, and when the AMContainer is finished, the RMAppAttempt and 
RMApp will go to the finished state. Looks like that if AM finished the 
unregister, we may consider this Application as complete, as least for the 
client point of view. But this is for the MR case. Right ? 

I am afraid that in the future, when clients write their own 
applicationMasters, they will not consider that the application is complete 
even if the application did the unregister. 

So, i think it may be better to separate these two states.  




> Separate FINISHING and FINISHED state in YarnApplicationState
> -------------------------------------------------------------
>
>                 Key: YARN-1445
>                 URL: https://issues.apache.org/jira/browse/YARN-1445
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>
> Today, we will transmit both RMAppState.FINISHING and RMAppState.FINISHED to 
> YarnApplicationState.FINISHED.



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

Reply via email to