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