@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface FederationPolicyStore
SubClusterPolicyConfiguration
, a serialized
representation of the policy type and its parameters.Modifier and Type | Method and Description |
---|---|
DeletePoliciesConfigurationsResponse |
deleteAllPoliciesConfigurations(DeletePoliciesConfigurationsRequest request)
Delete all queue-to-policy configurations.
|
DeleteSubClusterPoliciesConfigurationsResponse |
deletePoliciesConfigurations(DeleteSubClusterPoliciesConfigurationsRequest request)
Delete PoliciesConfigurations.
|
GetSubClusterPoliciesConfigurationsResponse |
getPoliciesConfigurations(GetSubClusterPoliciesConfigurationsRequest request)
Get a map of all queue-to-policy configurations.
|
GetSubClusterPolicyConfigurationResponse |
getPolicyConfiguration(GetSubClusterPolicyConfigurationRequest request)
Get the policy configuration for a given queue.
|
SetSubClusterPolicyConfigurationResponse |
setPolicyConfiguration(SetSubClusterPolicyConfigurationRequest request)
Set the policy configuration for a given queue.
|
GetSubClusterPolicyConfigurationResponse getPolicyConfiguration(GetSubClusterPolicyConfigurationRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request
- the queue whose SubClusterPolicyConfiguration
is
requiredSubClusterPolicyConfiguration
for the specified queue,
or null
if there is no mapping for the queueorg.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsSetSubClusterPolicyConfigurationResponse setPolicyConfiguration(SetSubClusterPolicyConfigurationRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request
- the SubClusterPolicyConfiguration
with the
corresponding queueSubClusterPolicyConfiguration
for the specified queueorg.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsGetSubClusterPoliciesConfigurationsResponse getPoliciesConfigurations(GetSubClusterPoliciesConfigurationsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request
- empty to represent all configured queues in the systemorg.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsDeleteSubClusterPoliciesConfigurationsResponse deletePoliciesConfigurations(DeleteSubClusterPoliciesConfigurationsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request
- List containing delete queues.org.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsDeletePoliciesConfigurationsResponse deleteAllPoliciesConfigurations(DeletePoliciesConfigurationsRequest request) throws Exception
request
- delete request.Exception
- if the request is invalid/failsCopyright © 2008–2024 Apache Software Foundation. All rights reserved.