## Uses of Interface
org.apache.hadoop.yarn.server.federation.policies.amrmproxy.FederationAMRMProxyPolicy

- Packages that use FederationAMRMProxyPolicy
  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.manager | Various implementation of FederationPolicyManager.

- - ### Uses of FederationAMRMProxyPolicy in org.apache.hadoop.yarn.server.federation.policies

    Methods in org.apache.hadoop.yarn.server.federation.policies that return FederationAMRMProxyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `static FederationAMRMProxyPolicy` | FederationPolicyUtils.`loadAMRMPolicy(String queue, FederationAMRMProxyPolicy oldPolicy, org.apache.hadoop.conf.Configuration conf, FederationStateStoreFacade federationFacade, SubClusterId homeSubClusterId)` Get AMRMProxy policy from state store, using default queue and configuration as fallback.

    Methods in org.apache.hadoop.yarn.server.federation.policies with parameters of type FederationAMRMProxyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `static FederationAMRMProxyPolicy` | FederationPolicyUtils.`loadAMRMPolicy(String queue, FederationAMRMProxyPolicy oldPolicy, org.apache.hadoop.conf.Configuration conf, FederationStateStoreFacade federationFacade, SubClusterId homeSubClusterId)` Get AMRMProxy policy from state store, using default queue and configuration as fallback.

  - ### Uses of FederationAMRMProxyPolicy in org.apache.hadoop.yarn.server.federation.policies.amrmproxy

    Classes in org.apache.hadoop.yarn.server.federation.policies.amrmproxy that implement FederationAMRMProxyPolicy
    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.

  - ### Uses of FederationAMRMProxyPolicy in org.apache.hadoop.yarn.server.federation.policies.manager

    Methods in org.apache.hadoop.yarn.server.federation.policies.manager that return FederationAMRMProxyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `FederationAMRMProxyPolicy` | FederationPolicyManager.`getAMRMPolicy(FederationPolicyInitializationContext policyContext, FederationAMRMProxyPolicy oldInstance)` If the current instance is compatible, this method returns the same instance of `FederationAMRMProxyPolicy` reinitialized with the current context, otherwise a new instance initialized with the current context is provided.
    `FederationAMRMProxyPolicy` | AbstractPolicyManager.`getAMRMPolicy(FederationPolicyInitializationContext federationPolicyContext, FederationAMRMProxyPolicy oldInstance)` This default implementation validates the `FederationPolicyInitializationContext`, then checks whether it needs to reinstantiate the class (null or mismatching type), and reinitialize the policy.

    Methods in org.apache.hadoop.yarn.server.federation.policies.manager with parameters of type FederationAMRMProxyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `FederationAMRMProxyPolicy` | FederationPolicyManager.`getAMRMPolicy(FederationPolicyInitializationContext policyContext, FederationAMRMProxyPolicy oldInstance)` If the current instance is compatible, this method returns the same instance of `FederationAMRMProxyPolicy` reinitialized with the current context, otherwise a new instance initialized with the current context is provided.
    `FederationAMRMProxyPolicy` | AbstractPolicyManager.`getAMRMPolicy(FederationPolicyInitializationContext federationPolicyContext, FederationAMRMProxyPolicy oldInstance)` This default implementation validates the `FederationPolicyInitializationContext`, then checks whether it needs to reinstantiate the class (null or mismatching type), and reinitialize the policy.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.