Package | Description |
---|---|
org.apache.hadoop.yarn.server.federation.cache |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
org.apache.hadoop.yarn.server.federation.policies |
Federation Policies.
|
org.apache.hadoop.yarn.server.federation.policies.manager |
Various implementation of FederationPolicyManager.
|
org.apache.hadoop.yarn.server.federation.store.records |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
org.apache.hadoop.yarn.server.federation.store.records.impl.pb |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
org.apache.hadoop.yarn.server.federation.utils |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
SubClusterPolicyConfiguration |
FederationCache.SubClusterPolicyConfigurationCacheResponse.getItem() |
Modifier and Type | Method and Description |
---|---|
void |
FederationCache.SubClusterPolicyConfigurationCacheResponse.setItem(SubClusterPolicyConfiguration item) |
Modifier and Type | Method and Description |
---|---|
void |
FederationCache.SubClusterPolicyConfigurationCacheResponse.setList(List<SubClusterPolicyConfiguration> list) |
Modifier and Type | Method and Description |
---|---|
SubClusterPolicyConfiguration |
FederationPolicyInitializationContext.getSubClusterPolicyConfiguration()
Getter for the
SubClusterPolicyConfiguration . |
static SubClusterPolicyConfiguration |
FederationPolicyUtils.loadPolicyConfiguration(String queue,
org.apache.hadoop.conf.Configuration conf,
FederationStateStoreFacade federationFacade)
Get Federation policy configuration from state store, using default queue
and configuration as fallback.
|
Modifier and Type | Method and Description |
---|---|
void |
FederationPolicyInitializationContext.setSubClusterPolicyConfiguration(SubClusterPolicyConfiguration fedPolicyConfiguration)
Setter for the
SubClusterPolicyConfiguration . |
Constructor and Description |
---|
FederationPolicyInitializationContext(SubClusterPolicyConfiguration policy,
SubClusterResolver resolver,
FederationStateStoreFacade storeFacade,
SubClusterId home) |
Modifier and Type | Method and Description |
---|---|
SubClusterPolicyConfiguration |
AbstractPolicyManager.serializeConf() |
SubClusterPolicyConfiguration |
WeightedHomePolicyManager.serializeConf() |
SubClusterPolicyConfiguration |
HomePolicyManager.serializeConf() |
SubClusterPolicyConfiguration |
WeightedLocalityPolicyManager.serializeConf() |
SubClusterPolicyConfiguration |
PriorityBroadcastPolicyManager.serializeConf() |
SubClusterPolicyConfiguration |
FederationPolicyManager.serializeConf()
This method is invoked to derive a
SubClusterPolicyConfiguration . |
Modifier and Type | Method and Description |
---|---|
abstract SubClusterPolicyConfiguration |
SetSubClusterPolicyConfigurationRequest.getPolicyConfiguration()
Get the policy configuration assigned to the queue.
|
abstract SubClusterPolicyConfiguration |
GetSubClusterPolicyConfigurationResponse.getPolicyConfiguration()
Get the policy configuration.
|
static SubClusterPolicyConfiguration |
SubClusterPolicyConfiguration.newInstance(String queue,
String policyType,
ByteBuffer policyParams) |
static SubClusterPolicyConfiguration |
SubClusterPolicyConfiguration.newInstance(SubClusterPolicyConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
abstract List<SubClusterPolicyConfiguration> |
GetSubClusterPoliciesConfigurationsResponse.getPoliciesConfigs()
Get all the policies configured in the system.
|
Modifier and Type | Method and Description |
---|---|
static SetSubClusterPolicyConfigurationRequest |
SetSubClusterPolicyConfigurationRequest.newInstance(SubClusterPolicyConfiguration policy) |
static GetSubClusterPolicyConfigurationResponse |
GetSubClusterPolicyConfigurationResponse.newInstance(SubClusterPolicyConfiguration policy) |
static SubClusterPolicyConfiguration |
SubClusterPolicyConfiguration.newInstance(SubClusterPolicyConfiguration conf) |
abstract void |
SetSubClusterPolicyConfigurationRequest.setPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration)
Set the policyConfiguration configuration for the queue.
|
abstract void |
GetSubClusterPolicyConfigurationResponse.setPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration)
Sets the policyConfiguration configuration.
|
Modifier and Type | Method and Description |
---|---|
static GetSubClusterPoliciesConfigurationsResponse |
GetSubClusterPoliciesConfigurationsResponse.newInstance(List<SubClusterPolicyConfiguration> policyConfigurations) |
abstract void |
GetSubClusterPoliciesConfigurationsResponse.setPoliciesConfigs(List<SubClusterPolicyConfiguration> policyConfigurations)
Sets all the policies configured in the system.
|
Modifier and Type | Class and Description |
---|---|
class |
SubClusterPolicyConfigurationPBImpl
Protobuf based implementation of
SubClusterPolicyConfiguration . |
Modifier and Type | Method and Description |
---|---|
SubClusterPolicyConfiguration |
SetSubClusterPolicyConfigurationRequestPBImpl.getPolicyConfiguration() |
SubClusterPolicyConfiguration |
GetSubClusterPolicyConfigurationResponsePBImpl.getPolicyConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<SubClusterPolicyConfiguration> |
GetSubClusterPoliciesConfigurationsResponsePBImpl.getPoliciesConfigs() |
Modifier and Type | Method and Description |
---|---|
void |
SetSubClusterPolicyConfigurationRequestPBImpl.setPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration) |
void |
GetSubClusterPolicyConfigurationResponsePBImpl.setPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
GetSubClusterPoliciesConfigurationsResponsePBImpl.setPoliciesConfigs(List<SubClusterPolicyConfiguration> policyConfigurations) |
Modifier and Type | Method and Description |
---|---|
SubClusterPolicyConfiguration |
FederationStateStoreFacade.getPolicyConfiguration(String queue)
Returns the
SubClusterPolicyConfiguration for the specified queue. |
Modifier and Type | Method and Description |
---|---|
Map<String,SubClusterPolicyConfiguration> |
FederationStateStoreFacade.getPoliciesConfigurations()
Get the policies that is represented as
SubClusterPolicyConfiguration for all currently active queues in
the system. |
Modifier and Type | Method and Description |
---|---|
void |
FederationStateStoreFacade.setPolicyConfiguration(SubClusterPolicyConfiguration policyConf)
Set a policy configuration into the state store.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.