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

Fix the javadoc of DelegationTokenSecretManager in projects of yarn, etc.

    Details

    • Hadoop Flags:
      Reviewed

      Description

      In RMDelegationTokenSecretManager and TimelineDelegationTokenSecretManager, the javadoc of the constructor is as follows:

        /**
         * Create a secret manager
         * @param delegationKeyUpdateInterval the number of seconds for rolling new
         *        secret keys.
         * @param delegationTokenMaxLifetime the maximum lifetime of the delegation
         *        tokens
         * @param delegationTokenRenewInterval how often the tokens must be renewed
         * @param delegationTokenRemoverScanInterval how often the tokens are scanned
         *        for expired tokens
         */
      

      1. "the number of seconds" should be "the number of milliseconds".
      2. It's better to add time unit to the description of other parameters.

        Attachments

        1. YARN-3587.1.patch
          9 kB
          Gabor Liptak
        2. YARN-3587.patch
          9 kB
          Gabor Liptak

          Issue Links

            Activity

              People

              • Assignee:
                gliptak Gabor Liptak
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: