org.apache.hadoop.yarn.api.ApplicationBaseProtocol, org.apache.hadoop.yarn.api.ApplicationClientProtocol, org.apache.hadoop.conf.ConfigurableAbstractClientRequestInterceptor, ApplicationSubmissionContextInterceptor, DefaultClientRequestInterceptor, FederationClientInterceptor, PassThroughClientRequestInterceptorpublic interface ClientRequestInterceptor
extends org.apache.hadoop.yarn.api.ApplicationClientProtocol, org.apache.hadoop.conf.Configurable
| Modifier and Type | Method | Description |
|---|---|---|
ClientRequestInterceptor |
getNextInterceptor() |
Returns the next interceptor in the chain.
|
RouterDelegationTokenSecretManager |
getTokenSecretManager() |
Get RouterDelegationTokenSecretManager.
|
void |
init(java.lang.String user) |
This method is called for initializing the interceptor.
|
void |
setNextInterceptor(ClientRequestInterceptor nextInterceptor) |
Sets the next interceptor in the pipeline.
|
void |
setTokenSecretManager(RouterDelegationTokenSecretManager tokenSecretManager) |
Set RouterDelegationTokenSecretManager for specific interceptor to support Token operations,
including create Token, update Token, and delete Token.
|
void |
shutdown() |
This method is called to release the resources held by the interceptor.
|
cancelDelegationToken, 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, updateReservationvoid init(java.lang.String user)
user - the name of the clientvoid shutdown()
void setNextInterceptor(ClientRequestInterceptor nextInterceptor)
nextInterceptor - the ClientRequestInterceptor to set in the pipelineClientRequestInterceptor getNextInterceptor()
void setTokenSecretManager(RouterDelegationTokenSecretManager tokenSecretManager)
tokenSecretManager - Router DelegationTokenSecretManagerRouterDelegationTokenSecretManager getTokenSecretManager()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.