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

Add Configuration to delegationToken RemoverScanInterval

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When reading the code, I found the case of hard coding, I think the parameters should be abstracted into the configuration.

      org.apache.hadoop.yarn.server.resourcemanager.RMSecretManagerService#

      createRMDelegationTokenSecretManager

      protected RMDelegationTokenSecretManager createRMDelegationTokenSecretManager(Configuration conf, RMContext rmContext) 
      {  
         // ..... 3600000 This hard code should be extracted    
         return new RMDelegationTokenSecretManager(secretKeyInterval, tokenMaxLifetime, tokenRenewInterval, 3600000, rmContext); 
      } 
      

      Attachments

        Activity

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

          People

            slfan1989 Shilun Fan
            slfan1989 Shilun Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment