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 and Description |
---|---|
SubClusterInfo |
FederationCache.SubClusterInfoCacheResponse.getItem() |
Modifier and Type | Method and Description |
---|---|
protected FederationCache.CacheRequest<String,FederationCache.CacheResponse<SubClusterInfo>> |
FederationCache.buildGetSubClustersCacheRequest(String cacheKey,
boolean filterInactiveSubClusters)
Build GetSubClusters CacheRequest.
|
static Map<SubClusterId,SubClusterInfo> |
FederationCache.buildSubClusterInfoMap(FederationCache.CacheRequest<String,?> cacheRequest)
According to the cacheRequest, build SubClusterInfoMap.
|
static Map<SubClusterId,SubClusterInfo> |
FederationCache.buildSubClusterInfoMap(GetSubClustersInfoResponse response)
According to the response, build SubClusterInfoMap.
|
List<SubClusterInfo> |
FederationCache.SubClusterInfoCacheResponse.getList() |
Map<SubClusterId,SubClusterInfo> |
FederationGuavaCache.getSubClusters(boolean filterInactiveSubClusters) |
Map<SubClusterId,SubClusterInfo> |
FederationJCache.getSubClusters(boolean filterInactiveSubClusters) |
abstract Map<SubClusterId,SubClusterInfo> |
FederationCache.getSubClusters(boolean filterInactiveSubClusters)
Returns the
SubClusterInfo of all active sub cluster(s). |
Modifier and Type | Method and Description |
---|---|
void |
FederationCache.SubClusterInfoCacheResponse.setItem(SubClusterInfo item) |
Modifier and Type | Method and Description |
---|---|
void |
FederationCache.SubClusterInfoCacheResponse.setList(List<SubClusterInfo> list) |
Modifier and Type | Method and Description |
---|---|
protected 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 and Description |
---|---|
protected Map<SubClusterId,SubClusterInfo> |
AbstractRouterPolicy.prefilterSubClusters(org.apache.hadoop.yarn.api.records.ReservationId reservationId,
Map<SubClusterId,SubClusterInfo> activeSubClusters)
Filter chosen SubCluster based on reservationId.
|
Modifier and Type | Method and Description |
---|---|
protected SubClusterId |
RejectRouterPolicy.chooseSubCluster(String queue,
Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
protected SubClusterId |
PriorityRouterPolicy.chooseSubCluster(String queue,
Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
protected SubClusterId |
UniformRandomRouterPolicy.chooseSubCluster(String queue,
Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
protected abstract SubClusterId |
AbstractRouterPolicy.chooseSubCluster(String queue,
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 |
WeightedRandomRouterPolicy.chooseSubCluster(String queue,
Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
protected SubClusterId |
HashBasedRouterPolicy.chooseSubCluster(String queue,
Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
protected SubClusterId |
LoadBasedRouterPolicy.chooseSubCluster(String queue,
Map<SubClusterId,SubClusterInfo> preSelectSubclusters) |
protected Map<SubClusterId,SubClusterInfo> |
AbstractRouterPolicy.prefilterSubClusters(org.apache.hadoop.yarn.api.records.ReservationId reservationId,
Map<SubClusterId,SubClusterInfo> activeSubClusters)
Filter chosen SubCluster based on reservationId.
|
Modifier and Type | Method and Description |
---|---|
Map<SubClusterId,SubClusterInfo> |
MemoryFederationStateStore.getMembership() |
Modifier and Type | Method and Description |
---|---|
void |
MemoryFederationStateStore.setMembership(Map<SubClusterId,SubClusterInfo> membership) |
Modifier and Type | Method and 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,
String amRMServiceAddress,
String clientRMServiceAddress,
String rmAdminServiceAddress,
String rmWebServiceAddress,
long lastHeartBeat,
SubClusterState state,
long lastStartTime,
String capability) |
static SubClusterInfo |
SubClusterInfo.newInstance(SubClusterId subClusterId,
String amRMServiceAddress,
String clientRMServiceAddress,
String rmAdminServiceAddress,
String rmWebServiceAddress,
SubClusterState state,
long lastStartTime,
String capability) |
static SubClusterInfo |
SubClusterInfo.newInstance(SubClusterId subClusterId,
String rmWebServiceAddress,
SubClusterState state,
long lastStartTime,
long lastHeartBeat,
String capability) |
Modifier and Type | Method and Description |
---|---|
abstract 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 and 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 and Description |
---|---|
static GetSubClustersInfoResponse |
GetSubClustersInfoResponse.newInstance(Collection<SubClusterInfo> subClusters) |
abstract void |
GetSubClustersInfoResponse.setSubClusters(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 and Description |
---|---|
class |
SubClusterInfoPBImpl
Protocol buffer based implementation of
SubClusterInfo . |
Modifier and Type | Method and Description |
---|---|
SubClusterInfo |
GetSubClusterInfoResponsePBImpl.getSubClusterInfo() |
SubClusterInfo |
SubClusterRegisterRequestPBImpl.getSubClusterInfo() |
Modifier and Type | Method and Description |
---|---|
List<SubClusterInfo> |
GetSubClustersInfoResponsePBImpl.getSubClusters() |
Modifier and Type | Method and Description |
---|---|
void |
GetSubClusterInfoResponsePBImpl.setSubClusterInfo(SubClusterInfo paramSubClusterInfo) |
void |
SubClusterRegisterRequestPBImpl.setSubClusterInfo(SubClusterInfo subClusterInfo) |
Modifier and Type | Method and Description |
---|---|
void |
GetSubClustersInfoResponsePBImpl.setSubClusters(Collection<SubClusterInfo> subClusters) |
Modifier and Type | Method and Description |
---|---|
static void |
FederationMembershipStateStoreInputValidator.checkSubClusterInfo(SubClusterInfo subClusterInfo)
Validate if all the required fields on
SubClusterInfo are present
or not. |
Modifier and Type | Method and 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 and Description |
---|---|
Collection<SubClusterInfo> |
FederationStateStoreFacade.getActiveSubClusters()
Get active subclusters.
|
Map<SubClusterId,SubClusterInfo> |
FederationStateStoreFacade.getSubClusters(boolean filterInactiveSubClusters)
Returns the
SubClusterInfo of all active sub cluster(s). |
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 and Description |
---|---|
static SubClusterId |
FederationStateStoreFacade.getRandomActiveSubCluster(Map<SubClusterId,SubClusterInfo> activeSubClusters,
List<SubClusterId> blackList)
Randomly pick ActiveSubCluster.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.