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

Add independent secret manager method for logging expired tokens

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      AbstractDelegationTokenSecretManager#removeExpiredToken has two phases. First phase synchronizes to collect expired tokens. Second phase loops over the collected tokens to log them while not holding the monitor.

      HDFS-13112 needs to acquire the namesystem lock during the second logging phase, which requires splitting the method apart to allow a method override.

      Attachments

        1. HADOOP-15212.branch-2.7.patch
          1 kB
          Daryn Sharp
        2. HADOOP-15212.patch
          1 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: