Class WeightedLocalityPolicyManager

java.lang.Object
org.apache.hadoop.yarn.server.federation.policies.manager.AbstractPolicyManager
org.apache.hadoop.yarn.server.federation.policies.manager.WeightedLocalityPolicyManager
All Implemented Interfaces:
FederationPolicyManager

public class WeightedLocalityPolicyManager extends AbstractPolicyManager
Policy that allows operator to configure "weights" for routing. This picks a LocalityRouterPolicy for the router and a LocalityMulticastAMRMProxyPolicy for the amrmproxy as they are designed to work together.