org.apache.hadoop.conf.Configurablepublic class UniformWeightedLocalityGlobalPolicy extends GlobalPolicy
| Constructor | Description |
|---|---|
UniformWeightedLocalityGlobalPolicy() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.yarn.server.federation.policies.manager.FederationPolicyManager |
updatePolicy(java.lang.String queueName,
java.util.Map<org.apache.hadoop.yarn.server.federation.store.records.SubClusterId,java.util.Map<java.lang.Class,java.lang.Object>> clusterInfo,
org.apache.hadoop.yarn.server.federation.policies.manager.FederationPolicyManager currentManager) |
Given a queue, cluster metrics, and policy manager, update the policy
to account for the cluster status.
|
getConf, registerPaths, setConfprotected org.apache.hadoop.yarn.server.federation.policies.manager.FederationPolicyManager updatePolicy(java.lang.String queueName,
java.util.Map<org.apache.hadoop.yarn.server.federation.store.records.SubClusterId,java.util.Map<java.lang.Class,java.lang.Object>> clusterInfo,
org.apache.hadoop.yarn.server.federation.policies.manager.FederationPolicyManager currentManager)
GlobalPolicyupdatePolicy in class GlobalPolicyqueueName - name of the queueclusterInfo - subClusterId map to cluster information about the
SubCluster used to make policy decisionscurrentManager - the FederationPolicyManager for the queue's existing
policy the manager may be null, in which case the policy
will need to be createdCopyright © 2008–2025 Apache Software Foundation. All rights reserved.