Class HistoryServerLeveldbStateStoreService

java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.mapreduce.v2.hs.HistoryServerStateStoreService
org.apache.hadoop.mapreduce.v2.hs.HistoryServerLeveldbStateStoreService
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service

public class HistoryServerLeveldbStateStoreService extends HistoryServerStateStoreService
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.v2.hs.HistoryServerStateStoreService

    HistoryServerStateStoreService.HistoryServerState

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Implementation-specific shutdown.
    protected void
    initStorage(org.apache.hadoop.conf.Configuration conf)
    Implementation-specific initialization.
    Load the history server state from the state storage.
    void
    removeToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId)
    Blocking method to remove a delegation token from the state storage.
    void
    removeTokenMasterKey(org.apache.hadoop.security.token.delegation.DelegationKey masterKey)
    Blocking method to remove a delegation token master key.
    protected void
    Implementation-specific startup.
    void
    storeToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId, Long renewDate)
    Blocking method to store a delegation token along with the current token sequence number to the state storage.
    void
    storeTokenMasterKey(org.apache.hadoop.security.token.delegation.DelegationKey masterKey)
    Blocking method to store a delegation token master key.
    void
    updateToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId, Long renewDate)
    Blocking method to update the expiration of a delegation token in the state storage.

    Methods inherited from class org.apache.hadoop.mapreduce.v2.hs.HistoryServerStateStoreService

    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