hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
Date Thu, 30 May 2013 10:53:26 GMT

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

Hudson commented on HADOOP-9574:
--------------------------------

Integrated in Hadoop-Yarn-trunk #225 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/225/])
    HADOOP-9574. Fix for timing issues in the original patch's test-case. (Revision 1487722)
HADOOP-9574. Added new methods in AbstractDelegationTokenSecretManager for helping YARN ResourceManager
to reuse code for RM restart. Contributed by Jian He. (Revision 1487692)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1487722
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1487692
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/DelegationKey.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

                
> Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens
on RMRestart
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9574
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9574
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>             Fix For: 2.0.5-beta
>
>         Attachments: HADOOP-9574.1.patch, HADOOP-9574.2.patch, HADOOP-9574.fixtest.patch
>
>
> we're considering to add the following methods in AbstractDelegationTokenSecretManager
for restoring RMDelegationTokens, these methods can also possibly be reused by hdfsDelegationTokenSecretManager,
see YARN-638
>   protected void storeNewMasterKey(DelegationKey key) throws IOException {
>     return;
>   }
>   protected void removeStoredMasterKey(DelegationKey key) {
>     return;
>   }
>   protected void storeNewToken(TokenIdent ident, long renewDate) {
>     return;
>   }
>   protected void removeStoredToken(TokenIdent ident) throws IOException {
>   }
>   protected void updateStoredToken(TokenIdent ident, long renewDate) {
>     return;
>   }
> Also move addPersistedDelegationToken in hdfs.DelegationTokenSecretManager, to AbstractDelegationTokenSecretManager

--
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