public abstract class AbstractRESTRequestInterceptor extends Object implements RESTRequestInterceptor
Constructor and Description |
---|
AbstractRESTRequestInterceptor() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Gets the
Configuration . |
RESTRequestInterceptor |
getNextInterceptor()
Gets the next
RESTRequestInterceptor in the chain. |
RouterClientRMService |
getRouterClientRMService()
Get RouterClientRMService.
|
org.apache.hadoop.security.UserGroupInformation |
getUser() |
void |
init(String userName)
Initializes the
RESTRequestInterceptor . |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Sets the
Configuration . |
void |
setNextInterceptor(RESTRequestInterceptor nextInterceptor)
Sets the
RESTRequestInterceptor in the chain. |
void |
setRouterClientRMService(RouterClientRMService routerClientRMService)
Set RouterClientRMService.
|
void |
shutdown()
Disposes the
RESTRequestInterceptor . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAppAttempt, getContainer, getContainers
addToClusterNodeLabels, cancelDelegationToken, checkUserAccessToQueue, createNewApplication, createNewReservation, deleteReservation, dumpSchedulerLogs, get, getActivities, getApp, getAppActivities, getAppAttempts, getAppPriority, getAppQueue, getApps, getAppState, getAppStatistics, getAppTimeout, getAppTimeouts, getBulkActivities, getClusterInfo, getClusterMetricsInfo, getClusterNodeLabels, getClusterUserInfo, getLabelsOnNode, getLabelsToNodes, getNode, getNodes, getNodeToLabels, getRMNodeLabels, getSchedulerConfiguration, getSchedulerInfo, listReservation, postDelegationToken, postDelegationTokenExpiration, removeFromClusterNodeLabels, replaceLabelsOnNode, replaceLabelsOnNodes, signalToContainer, submitApplication, submitReservation, updateApplicationPriority, updateApplicationTimeout, updateAppQueue, updateAppState, updateNodeResource, updateReservation, updateSchedulerConfiguration
public void setNextInterceptor(RESTRequestInterceptor nextInterceptor)
RESTRequestInterceptor
in the chain.setNextInterceptor
in interface RESTRequestInterceptor
nextInterceptor
- the RESTRequestInterceptor 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)
RESTRequestInterceptor
.init
in interface RESTRequestInterceptor
userName
- the name of the clientpublic void shutdown()
RESTRequestInterceptor
.shutdown
in interface RESTRequestInterceptor
public RESTRequestInterceptor getNextInterceptor()
RESTRequestInterceptor
in the chain.getNextInterceptor
in interface RESTRequestInterceptor
public org.apache.hadoop.security.UserGroupInformation getUser()
public RouterClientRMService getRouterClientRMService()
RESTRequestInterceptor
getRouterClientRMService
in interface RESTRequestInterceptor
public void setRouterClientRMService(RouterClientRMService routerClientRMService)
RESTRequestInterceptor
setRouterClientRMService
in interface RESTRequestInterceptor
routerClientRMService
- routerClientRMService.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.