public abstract class AbstractClientRequestInterceptor extends Object implements ClientRequestInterceptor
ClientRequestInterceptor interface and provides common
functionality which can can be used and/or extended by other concrete
intercepter classes.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.security.UserGroupInformation |
user |
| Constructor and Description |
|---|
AbstractClientRequestInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Gets the
Configuration. |
ClientRequestInterceptor |
getNextInterceptor()
Gets the next
ClientRequestInterceptor in the chain. |
void |
init(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 |
shutdown()
Disposes the
ClientRequestInterceptor. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteReservation, 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(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 ClientRequestInterceptorCopyright © 2008–2022 Apache Software Foundation. All rights reserved.