hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2212) ApplicationMaster needs to find a way to update the AMRMToken periodically
Date Wed, 30 Jul 2014 20:10:38 GMT

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

Jian He commented on YARN-2212:

- AMS#registerApplicationMaster changes not needed.
- May not say stable now.
  public abstract Token getAMRMToken();
-   ApplicationReport#getAMRMToken for unmanaged AM needs to be updated as well.
- we can move the AMRMToken creation from RMAppAttemptImpl to AMLauncher? 
- {code} Use newInstance instead. 
          amrmToken.getIdentifier(), amrmToken.getKind().toString(),
          amrmToken.getPassword(), amrmToken.getService().toString())
- Test AMRMClient automatically takes care of the new AMRMToken transfer. 
- Please run on real cluster also and set roll-over interval to a small value to make sure
it actually works.

> ApplicationMaster needs to find a way to update the AMRMToken periodically
> --------------------------------------------------------------------------
>                 Key: YARN-2212
>                 URL: https://issues.apache.org/jira/browse/YARN-2212
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-2212.1.patch, YARN-2212.2.patch, YARN-2212.3.1.patch, YARN-2212.3.patch,

This message was sent by Atlassian JIRA

View raw message