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

Possible leak in DelegationTokenRenewer#allTokens

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.1, 3.0.0-alpha1
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: