| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.nodemanager.amrmproxy | |
| org.apache.hadoop.yarn.server.nodemanager.scheduler | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractRequestInterceptorImplements the RequestInterceptor interface and provides common functionality
 which can can be used and/or extended by other concrete intercepter classes. | 
| class  | DefaultRequestInterceptorExtends the AbstractRequestInterceptor class and provides an implementation
 that simply forwards the AM requests to the cluster resource manager. | 
| class  | FederationInterceptorExtends the AbstractRequestInterceptor and provides an implementation for
 federation of YARN RM and scaling an application across multiple YARN
 sub-clusters. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected RequestInterceptor | AMRMProxyService. createRequestInterceptorChain()This method creates and returns reference of the first intercepter in the
 chain of request intercepter instances. | 
| RequestInterceptor | RequestInterceptor. getNextInterceptor()Returns the next intercepter in the chain. | 
| RequestInterceptor | AbstractRequestInterceptor. getNextInterceptor()Gets the next  RequestInterceptorin the chain. | 
| RequestInterceptor | AMRMProxyService.RequestInterceptorChainWrapper. getRootInterceptor()Gets the root request intercepter. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AMRMProxyService.RequestInterceptorChainWrapper. init(RequestInterceptor rootInterceptor,
    org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)Initializes the wrapper with the specified parameters. | 
| void | RequestInterceptor. setNextInterceptor(RequestInterceptor nextInterceptor)Sets the next intercepter in the pipeline. | 
| void | DefaultRequestInterceptor. setNextInterceptor(RequestInterceptor next) | 
| void | AbstractRequestInterceptor. setNextInterceptor(RequestInterceptor nextInterceptor)Sets the  RequestInterceptorin the chain. | 
| void | FederationInterceptor. setNextInterceptor(RequestInterceptor next) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DistributedSchedulerThe DistributedScheduler runs on the NodeManager and is modeled as an
  AMRMProxyrequest interceptor. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.