Class TimelineV1DelegationTokenSecretManagerService
java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
org.apache.hadoop.yarn.server.timeline.security.TimelineV1DelegationTokenSecretManagerService
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.service.Service
@Private
@Unstable
public class TimelineV1DelegationTokenSecretManagerService
extends org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
The service wrapper of
TimelineV1DelegationTokenSecretManagerService.TimelineV1DelegationTokenSecretManager.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDelegation token secret manager for ATSv1 and ATSv1.5.Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service
org.apache.hadoop.service.Service.STATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TimelineStateStorecreateStateStore(org.apache.hadoop.conf.Configuration conf) protected org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier>createTimelineDelegationTokenSecretManager(long secretKeyInterval, long tokenMaxLifetime, long tokenRenewInterval, long tokenRemovalScanInterval) protected voidserviceInit(org.apache.hadoop.conf.Configuration conf) protected voidprotected voidMethods inherited from class org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
getTimelineDelegationTokenSecretManagerMethods inherited from class org.apache.hadoop.service.AbstractService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
-
Constructor Details
-
TimelineV1DelegationTokenSecretManagerService
public TimelineV1DelegationTokenSecretManagerService()
-
-
Method Details
-
serviceInit
- Overrides:
serviceInitin classorg.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService- Throws:
Exception
-
serviceStart
- Overrides:
serviceStartin classorg.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService- Throws:
Exception
-
serviceStop
- Overrides:
serviceStopin classorg.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService- Throws:
Exception
-
createTimelineDelegationTokenSecretManager
protected org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> createTimelineDelegationTokenSecretManager(long secretKeyInterval, long tokenMaxLifetime, long tokenRenewInterval, long tokenRemovalScanInterval) - Specified by:
createTimelineDelegationTokenSecretManagerin classorg.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
-
createStateStore
-