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(Collection<SubClusterId> activeSubClusters,
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 and 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 and Description |
---|---|
void |
AbstractRouterPolicy.validate(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.