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

RMStateStore contains large number of expired RMDelegationToken

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When the RM state store is restored expired delegation tokens are restored and added to the system. These expired tokens do not get cleaned up or removed. The exact reason why the tokens are still in the store is not clear. We have seen as many as 250,000 tokens in the store some of which were 2 years old.

      This has two side effects:

      • for the zookeeper store this leads to a jute buffer exhaustion issue and prevents the RM from becoming active.
      • restore takes longer than needed and heap usage is higher than it should be

      We should not restore already expired tokens since they cannot be renewed or used.

      Attachments

        1. YARN-8865.006.patch
          12 kB
          wilfreds#1
        2. YARN-8865.005.patch
          12 kB
          wilfreds#1
        3. YARN-8865.004.patch
          8 kB
          wilfreds#1
        4. YARN-8865.003.patch
          7 kB
          wilfreds#1
        5. YARN-8865.002.patch
          5 kB
          wilfreds#1
        6. YARN-8865.001.patch
          14 kB
          wilfreds#1

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wilfreds Wilfred Spiegelenburg Assign to me
            wilfreds Wilfred Spiegelenburg
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment