org.apache.hadoop.conf.Configurable, org.apache.hadoop.yarn.api.ApplicationBaseProtocol, org.apache.hadoop.yarn.api.ApplicationClientProtocol, ClientRequestInterceptorDefaultClientRequestInterceptor, FederationClientInterceptor, PassThroughClientRequestInterceptorpublic abstract class AbstractClientRequestInterceptor extends java.lang.Object implements ClientRequestInterceptor
ClientRequestInterceptor interface and provides common
functionality which can can be used and/or extended by other concrete
interceptor classes.| Modifier and Type | Field | Description |
|---|---|---|
protected org.apache.hadoop.security.UserGroupInformation |
user |
| Constructor | Description |
|---|---|
AbstractClientRequestInterceptor() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
Gets the
Configuration. |
ClientRequestInterceptor |
getNextInterceptor() |
Gets the next
ClientRequestInterceptor in the chain. |
RouterDelegationTokenSecretManager |
getTokenSecretManager() |
Get RouterDelegationTokenSecretManager.
|
void |
init(java.lang.String userName) |
Initializes the
ClientRequestInterceptor. |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
Sets the
Configuration. |
void |
setNextInterceptor(ClientRequestInterceptor nextInterceptor) |
Sets the
ClientRequestInterceptor in the chain. |
void |
setTokenSecretManager(RouterDelegationTokenSecretManager tokenSecretManager) |
Set RouterDelegationTokenSecretManager for specific interceptor to support Token operations,
including create Token, update Token, and delete Token.
|
void |
shutdown() |
Disposes the
ClientRequestInterceptor. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelDelegationToken, getApplicationAttemptReport, getApplicationAttempts, getApplicationReport, getApplications, getContainerReport, getContainers, getDelegationToken, renewDelegationTokendeleteReservation, failApplicationAttempt, forceKillApplication, getAttributesToNodes, getClusterMetrics, getClusterNodeAttributes, getClusterNodeLabels, getClusterNodes, getLabelsToNodes, getNewApplication, getNewReservation, getNodesToAttributes, getNodeToLabels, getQueueInfo, getQueueUserAcls, getResourceProfile, getResourceProfiles, getResourceTypeInfo, listReservations, moveApplicationAcrossQueues, signalToContainer, submitApplication, submitReservation, updateApplicationPriority, updateApplicationTimeouts, updateReservationpublic void setNextInterceptor(ClientRequestInterceptor nextInterceptor)
ClientRequestInterceptor in the chain.setNextInterceptor in interface ClientRequestInterceptornextInterceptor - the ClientRequestInterceptor to set in the pipelinepublic void setConf(org.apache.hadoop.conf.Configuration conf)
Configuration.setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
Configuration.getConf in interface org.apache.hadoop.conf.Configurablepublic void init(java.lang.String userName)
ClientRequestInterceptor.init in interface ClientRequestInterceptoruserName - the name of the clientpublic void shutdown()
ClientRequestInterceptor.shutdown in interface ClientRequestInterceptorpublic ClientRequestInterceptor getNextInterceptor()
ClientRequestInterceptor in the chain.getNextInterceptor in interface ClientRequestInterceptorpublic RouterDelegationTokenSecretManager getTokenSecretManager()
ClientRequestInterceptorgetTokenSecretManager in interface ClientRequestInterceptorpublic void setTokenSecretManager(RouterDelegationTokenSecretManager tokenSecretManager)
ClientRequestInterceptorsetTokenSecretManager in interface ClientRequestInterceptortokenSecretManager - Router DelegationTokenSecretManagerCopyright © 2008–2025 Apache Software Foundation. All rights reserved.