Class AbstractClientRequestInterceptor

java.lang.Object
org.apache.hadoop.yarn.server.router.clientrm.AbstractClientRequestInterceptor
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.yarn.api.ApplicationBaseProtocol, org.apache.hadoop.yarn.api.ApplicationClientProtocol, ClientRequestInterceptor
Direct Known Subclasses:
DefaultClientRequestInterceptor, FederationClientInterceptor, PassThroughClientRequestInterceptor

public abstract class AbstractClientRequestInterceptor extends Object implements ClientRequestInterceptor
Implements the ClientRequestInterceptor interface and provides common functionality which can can be used and/or extended by other concrete interceptor classes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.security.UserGroupInformation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.conf.Configuration
    Gets the Configuration.
    Gets the next ClientRequestInterceptor in the chain.
    Get RouterDelegationTokenSecretManager.
    void
    init(String userName)
    Initializes the ClientRequestInterceptor.
    void
    setConf(org.apache.hadoop.conf.Configuration conf)
    Sets the Configuration.
    void
    Sets the ClientRequestInterceptor in the chain.
    void
    Set RouterDelegationTokenSecretManager for specific interceptor to support Token operations, including create Token, update Token, and delete Token.
    void

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.yarn.api.ApplicationBaseProtocol

    cancelDelegationToken, getApplicationAttemptReport, getApplicationAttempts, getApplicationReport, getApplications, getContainerReport, getContainers, getDelegationToken, renewDelegationToken

    Methods inherited from interface org.apache.hadoop.yarn.api.ApplicationClientProtocol

    deleteReservation, failApplicationAttempt, forceKillApplication, getAttributesToNodes, getClusterMetrics, getClusterNodeAttributes, getClusterNodeLabels, getClusterNodes, getLabelsToNodes, getNewApplication, getNewReservation, getNodesToAttributes, getNodeToLabels, getQueueInfo, getQueueUserAcls, getResourceProfile, getResourceProfiles, getResourceTypeInfo, listReservations, moveApplicationAcrossQueues, signalToContainer, submitApplication, submitReservation, updateApplicationPriority, updateApplicationTimeouts, updateReservation