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 |
AbstractConfigurableFederationPolicy
Base abstract class for a weighted
ConfigurableFederationPolicy . |
Modifier and Type | Interface and Description |
---|---|
interface |
FederationAMRMProxyPolicy
Implementors of this interface provide logic to split the list of
ResourceRequest s received by the AM among various RMs. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAMRMProxyPolicy
Base abstract class for
FederationAMRMProxyPolicy implementations,
that provides common validation for reinitialization. |
class |
BroadcastAMRMProxyPolicy
An implementation of the
FederationAMRMProxyPolicy that simply
broadcasts each ResourceRequest to all the available sub-clusters. |
class |
HomeAMRMProxyPolicy
An implementation of the
FederationAMRMProxyPolicy that simply
sends the ResourceRequest to the home subcluster. |
class |
LocalityMulticastAMRMProxyPolicy
An implementation of the
FederationAMRMProxyPolicy interface that
carefully multicasts the requests with the following behavior: |
class |
RejectAMRMProxyPolicy
An implementation of the
FederationAMRMProxyPolicy that simply
rejects all requests. |
Modifier and Type | Interface and Description |
---|---|
interface |
FederationRouterPolicy
Implements the logic for determining the routing of an application submission
based on a policy.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRouterPolicy
Base abstract class for
FederationRouterPolicy implementations, that
provides common validation for reinitialization. |
class |
HashBasedRouterPolicy
This
FederationRouterPolicy pick a subcluster based on the hash of
the job's queue name. |
class |
LoadBasedRouterPolicy
This implements a simple load-balancing policy.
|
class |
LocalityRouterPolicy
This policy selects the subcluster depending on the node where the Client
wants to run its application.
|
class |
PriorityRouterPolicy
This implements a policy that interprets "weights" as a ordered list of
preferences among sub-clusters.
|
class |
RejectRouterPolicy
This
FederationRouterPolicy simply rejects all incoming requests. |
class |
UniformRandomRouterPolicy
This simple policy picks at uniform random among any of the currently active
subclusters.
|
class |
WeightedRandomRouterPolicy
This policy implements a weighted random sample among currently active
sub-clusters.
|
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.