[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli updated HADOOP-9574: Resolution: Fixed Status: Resolved (was: Patch Available) Tx for taking care of the test issue, Jian. I committed the test-fix too to trunk and branch-2. Closing this. > 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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Status: Patch Available (was: Reopened) > 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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Attachment: HADOOP-9574.fixtest.patch change the hard sleep to a while loop and attach a timeout > 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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli updated HADOOP-9574: Resolution: Fixed Fix Version/s: 2.0.5-beta Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed this to trunk and branch-2. Thanks Jian! > 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 > > > 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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Status: Patch Available (was: Open) > 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 > Attachments: HADOOP-9574.1.patch, HADOOP-9574.2.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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Attachment: HADOOP-9574.2.patch Add tests to ensure new APIs are called, and test for DelegationKey > 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 > Attachments: HADOOP-9574.1.patch, HADOOP-9574.2.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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Status: Open (was: Patch Available) > 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 > Attachments: HADOOP-9574.1.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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Status: Patch Available (was: Open) > 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 > Attachments: HADOOP-9574.1.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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Attachment: HADOOP-9574.1.patch > 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 > Attachments: HADOOP-9574.1.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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Description: 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 was: 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; } > 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 > > 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
[jira] [Updated] (HADOOP-9574) Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart
[ https://issues.apache.org/jira/browse/HADOOP-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated HADOOP-9574: Summary: Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart (was: Adding new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart) > 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 > > 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; > } -- 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