Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9574

Add new methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens on RMRestart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • None
    • None
    • Reviewed

    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

      Attachments

        1. HADOOP-9574.fixtest.patch
          1 kB
          Jian He
        2. HADOOP-9574.2.patch
          12 kB
          Jian He
        3. HADOOP-9574.1.patch
          8 kB
          Jian He

        Issue Links

          Activity

            People

              jianhe Jian He
              jianhe Jian He
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: