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, wait
deleteReservation, failApplicationAttempt, forceKillApplication, getClusterMetrics, getClusterNodeLabels, getClusterNodes, getLabelsToNodes, getNewApplication, getNewReservation, getNodeToLabels, getQueueInfo, getQueueUserAcls, getResourceTypeInfo, listReservations, moveApplicationAcrossQueues, signalToContainer, submitApplication, submitReservation, updateApplicationPriority, updateApplicationTimeouts, updateReservation
public void setNextInterceptor(ClientRequestInterceptor nextInterceptor)
ClientRequestInterceptor
in the chain.setNextInterceptor
in interface ClientRequestInterceptor
nextInterceptor
- the ClientRequestInterceptor to set in the pipelinepublic void setConf(org.apache.hadoop.conf.Configuration conf)
Configuration
.setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
Configuration
.getConf
in interface org.apache.hadoop.conf.Configurable
public void init(String userName)
ClientRequestInterceptor
.init
in interface ClientRequestInterceptor
userName
- the name of the clientpublic void shutdown()
ClientRequestInterceptor
.shutdown
in interface ClientRequestInterceptor
public ClientRequestInterceptor getNextInterceptor()
ClientRequestInterceptor
in the chain.getNextInterceptor
in interface ClientRequestInterceptor
Copyright © 2022 Apache Software Foundation. All rights reserved.