| 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 | Description |
|---|---|---|
static void |
FederationPolicyUtils.validateSubClusterAvailability(java.util.Collection<SubClusterId> activeSubClusters,
java.util.Collection<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 | Description |
|---|---|---|
class |
FederationPolicyInitializationException |
This exception is thrown when the initialization of a federation policy is
not successful.
|
class |
NoActiveSubclustersException |
This exception is thrown when policies cannot locate any active cluster.
|
class |
UnknownSubclusterException |
This exception is thrown whenever a policy is given a
SubClusterId
that is unknown. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractRouterPolicy.validate(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.