| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.federation.policies | Federation Policies. | 
| org.apache.hadoop.yarn.server.federation.policies.exceptions | Exceptions for policies. | 
| org.apache.hadoop.yarn.server.federation.policies.router | Router policies. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | FederationPolicyUtils. validateSubClusterAvailability(List<SubClusterId> activeSubClusters,
                              List<SubClusterId> blackListSubClusters)Validate if there is any active subcluster that is not blacklisted, it will
 throw an exception if there are no usable subclusters. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FederationPolicyInitializationExceptionThis exception is thrown when the initialization of a federation policy is
 not successful. | 
| class  | NoActiveSubclustersExceptionThis exception is thrown when policies cannot locate any active cluster. | 
| class  | UnknownSubclusterExceptionThis exception is thrown whenever a policy is given a  SubClusterIdthat is unknown. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractRouterPolicy. validate(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.