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

Extra master key is created when AbstractDelegationTokenSecretManager is started

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When AbstractDelegationTokenSecretManager starts , AbstractDelegationTokenSecretManager.startThreads().updateCurrentKey() creates the first master key. Immediately after that, ExpiredTokenRemover thread is started, and it will creates the second master by calling rollMasterKey on its first loop.

        Issue Links

          Activity

          Hide
          atm Aaron T. Myers added a comment -

          Hey Jian, can you summarize here what effect this has, if any?

          Thanks a lot.

          Show
          atm Aaron T. Myers added a comment - Hey Jian, can you summarize here what effect this has, if any? Thanks a lot.
          Hide
          jianhe Jian He added a comment -

          Hey Aaron, I think this does no major harm, but that we have a redundant key when the secretManager starts.

          Show
          jianhe Jian He added a comment - Hey Aaron, I think this does no major harm, but that we have a redundant key when the secretManager starts.

            People

            • Assignee:
              jianhe Jian He
              Reporter:
              jianhe Jian He
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Development