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

Add Configuration to delegationToken RemoverScanInterval

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: