| 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.router |
Router policies.
|
| org.apache.hadoop.yarn.server.federation.store.impl |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
| 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.store.utils |
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 | Description |
|---|---|---|
SubClusterInfo |
FederationCache.SubClusterInfoCacheResponse.getItem() |
| Modifier and Type | Method | Description |
|---|---|---|
protected FederationCache.CacheRequest<java.lang.String,FederationCache.CacheResponse<SubClusterInfo>> |
FederationCache.buildGetSubClustersCacheRequest(java.lang.String cacheKey,
boolean filterInactiveSubClusters) |
Build GetSubClusters CacheRequest.
|
static java.util.Map<SubClusterId,SubClusterInfo> |
FederationCache.buildSubClusterInfoMap(FederationCache.CacheRequest<java.lang.String,?> cacheRequest) |
According to the cacheRequest, build SubClusterInfoMap.
|
static java.util.Map<SubClusterId,SubClusterInfo> |
FederationCache.buildSubClusterInfoMap(GetSubClustersInfoResponse response) |
According to the response, build SubClusterInfoMap.
|
java.util.List<SubClusterInfo> |
FederationCache.SubClusterInfoCacheResponse.getList() |
|
abstract java.util.Map<SubClusterId,SubClusterInfo> |
FederationCache.getSubClusters(boolean filterInactiveSubClusters) |
Returns the
SubClusterInfo of all active sub cluster(s). |
java.util.Map<SubClusterId,SubClusterInfo> |
FederationGuavaCache.getSubClusters(boolean filterInactiveSubClusters) |
|
java.util.Map<SubClusterId,SubClusterInfo> |
FederationJCache.getSubClusters(boolean filterInactiveSubClusters) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FederationCache.SubClusterInfoCacheResponse.setItem(SubClusterInfo item) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FederationCache.SubClusterInfoCacheResponse.setList(java.util.List<SubClusterInfo> list) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Map<SubClusterId,SubClusterInfo> |
AbstractConfigurableFederationPolicy.getActiveSubclusters() |
This methods gets active subclusters map from the
FederationStateStoreFacade and validate it not being null/empty. |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Map<SubClusterId,SubClusterInfo> |
AbstractRouterPolicy.prefilterSubClusters(org.apache.hadoop.yarn.api.records.ReservationId reservationId,
java.util.Map<SubClusterId,SubClusterInfo> activeSubClusters) |
Filter chosen SubCluster based on reservationId.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract SubClusterId |
AbstractRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubClusters) |
This method is implemented by the specific policy, and it is used to route
both reservations, and applications among a given set of
sub-clusters.
|
protected SubClusterId |
HashBasedRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
|
protected SubClusterId |
LoadBasedRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
|
protected SubClusterId |
PriorityRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
|
protected SubClusterId |
RejectRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
|
protected SubClusterId |
UniformRandomRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
|
protected SubClusterId |
WeightedRandomRouterPolicy.chooseSubCluster(java.lang.String queue,
java.util.Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
|
protected java.util.Map<SubClusterId,SubClusterInfo> |
AbstractRouterPolicy.prefilterSubClusters(org.apache.hadoop.yarn.api.records.ReservationId reservationId,
java.util.Map<SubClusterId,SubClusterInfo> activeSubClusters) |
Filter chosen SubCluster based on reservationId.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<SubClusterId,SubClusterInfo> |
MemoryFederationStateStore.getMembership() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MemoryFederationStateStore.setMembership(java.util.Map<SubClusterId,SubClusterInfo> membership) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract SubClusterInfo |
GetSubClusterInfoResponse.getSubClusterInfo() |
Get the
SubClusterInfo encapsulating the information about the
sub-cluster. |
abstract SubClusterInfo |
SubClusterRegisterRequest.getSubClusterInfo() |
Get the
SubClusterInfo encapsulating the information about the
sub-cluster. |
static SubClusterInfo |
SubClusterInfo.newInstance(SubClusterId subClusterId,
java.lang.String amRMServiceAddress,
java.lang.String clientRMServiceAddress,
java.lang.String rmAdminServiceAddress,
java.lang.String rmWebServiceAddress,
long lastHeartBeat,
SubClusterState state,
long lastStartTime,
java.lang.String capability) |
|
static SubClusterInfo |
SubClusterInfo.newInstance(SubClusterId subClusterId,
java.lang.String amRMServiceAddress,
java.lang.String clientRMServiceAddress,
java.lang.String rmAdminServiceAddress,
java.lang.String rmWebServiceAddress,
SubClusterState state,
long lastStartTime,
java.lang.String capability) |
|
static SubClusterInfo |
SubClusterInfo.newInstance(SubClusterId subClusterId,
java.lang.String rmWebServiceAddress,
SubClusterState state,
long lastStartTime,
long lastHeartBeat,
java.lang.String capability) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.List<SubClusterInfo> |
GetSubClustersInfoResponse.getSubClusters() |
Get the list of
SubClusterInfo representing the information about
all sub-clusters that are currently participating in Federation. |
| Modifier and Type | Method | Description |
|---|---|---|
static GetSubClusterInfoResponse |
GetSubClusterInfoResponse.newInstance(SubClusterInfo subClusterInfo) |
|
static SubClusterRegisterRequest |
SubClusterRegisterRequest.newInstance(SubClusterInfo subClusterInfo) |
|
abstract void |
GetSubClusterInfoResponse.setSubClusterInfo(SubClusterInfo subClusterInfo) |
Set the
SubClusterInfo encapsulating the information about the
sub-cluster. |
abstract void |
SubClusterRegisterRequest.setSubClusterInfo(SubClusterInfo subClusterInfo) |
Set the
SubClusterInfo encapsulating the information about the
sub-cluster. |
| Modifier and Type | Method | Description |
|---|---|---|
static GetSubClustersInfoResponse |
GetSubClustersInfoResponse.newInstance(java.util.Collection<SubClusterInfo> subClusters) |
|
abstract void |
GetSubClustersInfoResponse.setSubClusters(java.util.Collection<SubClusterInfo> subClusters) |
Set the list of
SubClusterInfo representing the information about
all sub-clusters that are currently participating in Federation. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
SubClusterInfoPBImpl |
Protocol buffer based implementation of
SubClusterInfo. |
| Modifier and Type | Method | Description |
|---|---|---|
SubClusterInfo |
GetSubClusterInfoResponsePBImpl.getSubClusterInfo() |
|
SubClusterInfo |
SubClusterRegisterRequestPBImpl.getSubClusterInfo() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<SubClusterInfo> |
GetSubClustersInfoResponsePBImpl.getSubClusters() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
GetSubClusterInfoResponsePBImpl.setSubClusterInfo(SubClusterInfo paramSubClusterInfo) |
|
void |
SubClusterRegisterRequestPBImpl.setSubClusterInfo(SubClusterInfo subClusterInfo) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
GetSubClustersInfoResponsePBImpl.setSubClusters(java.util.Collection<SubClusterInfo> subClusters) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
FederationMembershipStateStoreInputValidator.checkSubClusterInfo(SubClusterInfo subClusterInfo) |
Validate if all the required fields on
SubClusterInfo are present
or not. |
| Modifier and Type | Method | Description |
|---|---|---|
SubClusterInfo |
FederationStateStoreFacade.getSubCluster(SubClusterId subClusterId) |
Returns the
SubClusterInfo for the specified SubClusterId. |
SubClusterInfo |
FederationStateStoreFacade.getSubCluster(SubClusterId subClusterId,
boolean flushCache) |
Updates the cache with the central
FederationStateStore and returns
the SubClusterInfo for the specified SubClusterId. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<SubClusterInfo> |
FederationStateStoreFacade.getActiveSubClusters() |
Get active subclusters.
|
java.util.Map<SubClusterId,SubClusterInfo> |
FederationStateStoreFacade.getSubClusters(boolean filterInactiveSubClusters) |
Returns the
SubClusterInfo of all active sub cluster(s). |
java.util.Map<SubClusterId,SubClusterInfo> |
FederationStateStoreFacade.getSubClusters(boolean filterInactiveSubClusters,
boolean flushCache) |
Updates the cache with the central
FederationStateStore and returns
the SubClusterInfo of all active sub cluster(s). |
| Modifier and Type | Method | Description |
|---|---|---|
static SubClusterId |
FederationStateStoreFacade.getRandomActiveSubCluster(java.util.Map<SubClusterId,SubClusterInfo> activeSubClusters,
java.util.List<SubClusterId> blackList) |
Randomly pick ActiveSubCluster.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.