Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3472

Possible leak in DelegationTokenRenewer#allTokens

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When old token is expiring and being removed, it's not removed from the allTokens map, resulting in possible leak.

      if (t.token.getKind().equals(new Text("HDFS_DELEGATION_TOKEN"))) {
                    iter.remove();
                    t.cancelTimer();
                    LOG.info("Removed expiring token " + t);
                  }
      

        Attachments

        1. 0001-YARN-3472.patch
          1 kB
          Rohith Sharma K S
        2. 0002-YARN-3472.patch
          3 kB
          Rohith Sharma K S

          Issue Links

            Activity

              People

              • Assignee:
                rohithsharma Rohith Sharma K S
                Reporter:
                jianhe Jian He
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: