Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.0
-
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
Attachments
Issue Links
- is duplicated by
-
YARN-3596 Fix the javadoc of DelegationTokenSecretManager in hadoop-common
- Resolved
-
YARN-3597 Fix the javadoc of DelegationTokenSecretManager in hadoop-hdfs
- Resolved
-
YARN-3598 Fix the javadoc of DelegationTokenSecretManager in hadoop-mapreduce
- Resolved
-
YARN-3599 Fix the javadoc of DelegationTokenSecretManager in hadoop-yarn
- Resolved