hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-643) WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND clientToken is removed in FinalTransition and not BaseFinalTransition
Date Sun, 07 Jul 2013 22:27:48 GMT

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

Xuan Gong commented on YARN-643:
--------------------------------

I did not see any issues if we did not remove clientToAMToken in BaseFinalTransition. 
There are three AttemptState after the BaseFinalTransition. 
a. RMAppAttemptState.Killed. Not only the appAttempt, but also App will be killed.
b. RMAppAttemptState.FAILED. The RMApp will create a new RMAppAttemp, in which the clientToAMToken
will be recreated.
c. RMAppAttemptState.FINISHED. Both RMApp and RMAppAttempt will go to FINISHED state which
is the final state.

I think we can have clientToAMToken to be removed in BaseFinalTransition, but it will make
no difference.
                
> WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND
clientToken is removed in FinalTransition and not BaseFinalTransition
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-643
>                 URL: https://issues.apache.org/jira/browse/YARN-643
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message