[
https://issues.apache.org/jira/browse/YARN-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641322#comment-13641322
]
Siddharth Seth commented on YARN-579:
-------------------------------------
bq. The AppToken is stored in ContainerLaunchContext,not in Container, so
appToken should be set before ApplicationSubmissionContext is saved to help
RM-restart
bq. appToken is attempt specific. So it needs to be store per app attempt. So
it needs to be generated when app attempt is assigned a container and saved in
appAttemptStateData. Basically the code needs to be moved from AMLauncher to
the rmappattempimpl. AMLauncher will simply use the token from the attempt.
I believe this is being addressed in YARN-582.
Committing this patch. The latest test-patch can be ignored since the MR bit is
necessary for trunk to compile.
> Make ApplicationToken part of Container's token list to help RM-restart
> -----------------------------------------------------------------------
>
> Key: YARN-579
> URL: https://issues.apache.org/jira/browse/YARN-579
> Project: Hadoop YARN
> Issue Type: Sub-task
> Affects Versions: 2.0.4-alpha
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Vinod Kumar Vavilapalli
> Attachments: YARN-579-20130422.1.txt,
> YARN-579-20130422.1_YARNChanges.txt
>
>
> Container is already persisted for helping RM restart. Instead of explicitly
> setting ApplicationToken in AM's env, if we change it to be in Container, we
> can avoid env and can also help restart.
--
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