| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.federation.policies.router | Router policies. | 
| Modifier and Type | Class and Description | 
|---|---|
| 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.