YARN-3587. Fix the javadoc of DelegationTokenSecretManager in yarn, etc. projects. Contributed by Gabor Liptak.
This commit is contained in:
parent
3fa2efc09f
commit
7e543c27fa
@ -99,6 +99,17 @@ class AbstractDelegationTokenSecretManager<TokenIdent
|
|||||||
*/
|
*/
|
||||||
protected Object noInterruptsLock = new Object();
|
protected Object noInterruptsLock = new Object();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a secret manager
|
||||||
|
* @param delegationKeyUpdateInterval the number of milliseconds for rolling
|
||||||
|
* new secret keys.
|
||||||
|
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
||||||
|
* tokens in milliseconds
|
||||||
|
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
||||||
|
* in milliseconds
|
||||||
|
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
||||||
|
* for expired tokens in milliseconds
|
||||||
|
*/
|
||||||
public AbstractDelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
public AbstractDelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
||||||
long delegationTokenMaxLifetime, long delegationTokenRenewInterval,
|
long delegationTokenMaxLifetime, long delegationTokenRenewInterval,
|
||||||
long delegationTokenRemoverScanInterval) {
|
long delegationTokenRemoverScanInterval) {
|
||||||
|
@ -79,13 +79,14 @@ public DelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a secret manager
|
* Create a secret manager
|
||||||
* @param delegationKeyUpdateInterval the number of seconds for rolling new
|
* @param delegationKeyUpdateInterval the number of milliseconds for rolling
|
||||||
* secret keys.
|
* new secret keys.
|
||||||
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
||||||
* tokens
|
* tokens in milliseconds
|
||||||
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
||||||
|
* in milliseconds
|
||||||
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
||||||
* for expired tokens
|
* for expired tokens in milliseconds
|
||||||
* @param storeTokenTrackingId whether to store the token's tracking id
|
* @param storeTokenTrackingId whether to store the token's tracking id
|
||||||
*/
|
*/
|
||||||
public DelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
public DelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
||||||
|
@ -34,13 +34,14 @@ public class DelegationTokenSecretManager
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a secret manager
|
* Create a secret manager
|
||||||
* @param delegationKeyUpdateInterval the number of seconds for rolling new
|
* @param delegationKeyUpdateInterval the number of milliseconds for rolling
|
||||||
* secret keys.
|
* new secret keys.
|
||||||
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
||||||
* tokens
|
* tokens in milliseconds
|
||||||
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
||||||
|
* in milliseconds
|
||||||
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
||||||
* for expired tokens
|
* for expired tokens in milliseconds
|
||||||
*/
|
*/
|
||||||
public DelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
public DelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
||||||
long delegationTokenMaxLifetime,
|
long delegationTokenMaxLifetime,
|
||||||
|
@ -47,13 +47,14 @@ public class JHSDelegationTokenSecretManager
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a secret manager
|
* Create a secret manager
|
||||||
* @param delegationKeyUpdateInterval the number of seconds for rolling new
|
* @param delegationKeyUpdateInterval the number of milliseconds for rolling
|
||||||
* secret keys.
|
* new secret keys.
|
||||||
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
||||||
* tokens
|
* tokens in milliseconds
|
||||||
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
||||||
|
* in milliseconds
|
||||||
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
||||||
* for expired tokens
|
* for expired tokens in milliseconds
|
||||||
* @param store history server state store for persisting state
|
* @param store history server state store for persisting state
|
||||||
*/
|
*/
|
||||||
public JHSDelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
public JHSDelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
||||||
|
@ -224,6 +224,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
YARN-3395. FairScheduler: Trim whitespaces when using username for
|
YARN-3395. FairScheduler: Trim whitespaces when using username for
|
||||||
queuename. (Zhihai Xu via kasha)
|
queuename. (Zhihai Xu via kasha)
|
||||||
|
|
||||||
|
YARN-3587. Fix the javadoc of DelegationTokenSecretManager in yarn, etc.
|
||||||
|
projects. (Gabor Liptak via junping_du)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
||||||
|
@ -125,11 +125,15 @@ public static class TimelineDelegationTokenSecretManager extends
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a timeline secret manager
|
* Create a timeline secret manager
|
||||||
*
|
* @param delegationKeyUpdateInterval the number of milliseconds for rolling
|
||||||
* @param delegationKeyUpdateInterval the number of seconds for rolling new secret keys.
|
* new secret keys.
|
||||||
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation tokens
|
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
||||||
|
* tokens in milliseconds
|
||||||
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
||||||
* @param delegationTokenRemoverScanInterval how often the tokens are scanned for expired tokens
|
* in milliseconds
|
||||||
|
* @param delegationTokenRemoverScanInterval how often the tokens are
|
||||||
|
* scanned for expired tokens in milliseconds
|
||||||
|
* @param stateStore timeline service state store
|
||||||
*/
|
*/
|
||||||
public TimelineDelegationTokenSecretManager(
|
public TimelineDelegationTokenSecretManager(
|
||||||
long delegationKeyUpdateInterval,
|
long delegationKeyUpdateInterval,
|
||||||
|
@ -56,13 +56,15 @@ public class RMDelegationTokenSecretManager extends
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a secret manager
|
* Create a secret manager
|
||||||
* @param delegationKeyUpdateInterval the number of seconds for rolling new
|
* @param delegationKeyUpdateInterval the number of milliseconds for rolling
|
||||||
* secret keys.
|
* new secret keys.
|
||||||
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
* @param delegationTokenMaxLifetime the maximum lifetime of the delegation
|
||||||
* tokens
|
* tokens in milliseconds
|
||||||
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
* @param delegationTokenRenewInterval how often the tokens must be renewed
|
||||||
|
* in milliseconds
|
||||||
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
* @param delegationTokenRemoverScanInterval how often the tokens are scanned
|
||||||
* for expired tokens
|
* for expired tokens in milliseconds
|
||||||
|
* @param rmContext current context of the ResourceManager
|
||||||
*/
|
*/
|
||||||
public RMDelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
public RMDelegationTokenSecretManager(long delegationKeyUpdateInterval,
|
||||||
long delegationTokenMaxLifetime,
|
long delegationTokenMaxLifetime,
|
||||||
|
Loading…
Reference in New Issue
Block a user