Class TimelineV2DelegationTokenSecretManagerService

java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
org.apache.hadoop.yarn.server.timelineservice.security.TimelineV2DelegationTokenSecretManagerService
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service

public class TimelineV2DelegationTokenSecretManagerService extends org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Delegation token secret manager for ATSv2.

    Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service

    org.apache.hadoop.service.Service.STATE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cancelToken(org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> token, String canceller)
     
    protected org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier>
    createTimelineDelegationTokenSecretManager(long secretKeyInterval, long tokenMaxLifetime, long tokenRenewInterval, long tokenRemovalScanInterval)
     
    org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier>
    generateToken(org.apache.hadoop.security.UserGroupInformation ugi, String renewer)
     
    long
    renewToken(org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> token, String renewer)
     

    Methods inherited from class org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService

    getTimelineDelegationTokenSecretManager, serviceInit, serviceStart, serviceStop

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TimelineV2DelegationTokenSecretManagerService

      public TimelineV2DelegationTokenSecretManagerService()
  • Method Details

    • 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:
      createTimelineDelegationTokenSecretManager in class org.apache.hadoop.yarn.server.timeline.security.TimelineDelgationTokenSecretManagerService
    • generateToken

      public org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> generateToken(org.apache.hadoop.security.UserGroupInformation ugi, String renewer)
    • renewToken

      public long renewToken(org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> token, String renewer) throws IOException
      Throws:
      IOException
    • cancelToken

      public void cancelToken(org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> token, String canceller) throws IOException
      Throws:
      IOException