| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.federation.policies | Federation Policies. | 
| org.apache.hadoop.yarn.server.federation.policies.amrmproxy | AMRMPRoxy policies. | 
| org.apache.hadoop.yarn.server.federation.policies.router | Router policies. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractConfigurableFederationPolicyBase abstract class for a weighted  ConfigurableFederationPolicy. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | FederationAMRMProxyPolicyImplementors of this interface provide logic to split the list of
  ResourceRequests received by the AM among various RMs. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractAMRMProxyPolicyBase abstract class for  FederationAMRMProxyPolicyimplementations,
 that provides common validation for reinitialization. | 
| class  | BroadcastAMRMProxyPolicyAn implementation of the  FederationAMRMProxyPolicythat simply
 broadcasts eachResourceRequestto all the available sub-clusters. | 
| class  | HomeAMRMProxyPolicyAn implementation of the  FederationAMRMProxyPolicythat simply
 sends theResourceRequestto the home subcluster. | 
| class  | LocalityMulticastAMRMProxyPolicyAn implementation of the  FederationAMRMProxyPolicyinterface that
 carefully multicasts the requests with the following behavior: | 
| class  | RejectAMRMProxyPolicyAn implementation of the  FederationAMRMProxyPolicythat simply
 rejects all requests. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | FederationRouterPolicyImplements the logic for determining the routing of an application submission
 based on a policy. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractRouterPolicyBase abstract class for  FederationRouterPolicyimplementations, that
 provides common validation for reinitialization. | 
| class  | HashBasedRouterPolicyThis  FederationRouterPolicypick a subcluster based on the hash of
 the job's queue name. | 
| class  | LoadBasedRouterPolicyThis implements a simple load-balancing policy. | 
| class  | LocalityRouterPolicyThis policy selects the subcluster depending on the node where the Client
 wants to run its application. | 
| class  | PriorityRouterPolicyThis implements a policy that interprets "weights" as a ordered list of
 preferences among sub-clusters. | 
| class  | RejectRouterPolicyThis  FederationRouterPolicysimply rejects all incoming requests. | 
| class  | UniformRandomRouterPolicyThis simple policy picks at uniform random among any of the currently active
 subclusters. | 
| class  | WeightedRandomRouterPolicyThis policy implements a weighted random sample among currently active
 sub-clusters. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.