| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.federation.policies | Federation Policies. | 
| 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 | 
|---|---|
| protected Map<SubClusterId,SubClusterInfo> | AbstractConfigurableFederationPolicy. getActiveSubclusters()This methods gets active subclusters map from the  FederationStateStoreFacadeand validate it not being null/empty. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract SubClusterInfo | SubClusterRegisterRequest. getSubClusterInfo()Get the  SubClusterInfoencapsulating the information about the
 sub-cluster. | 
| abstract SubClusterInfo | GetSubClusterInfoResponse. getSubClusterInfo()Get the  SubClusterInfoencapsulating 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) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract List<SubClusterInfo> | GetSubClustersInfoResponse. getSubClusters()Get the list of  SubClusterInforepresenting the information about
 all sub-clusters that are currently participating in Federation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SubClusterRegisterRequest | SubClusterRegisterRequest. newInstance(SubClusterInfo subClusterInfo) | 
| static GetSubClusterInfoResponse | GetSubClusterInfoResponse. newInstance(SubClusterInfo subClusterInfo) | 
| abstract void | SubClusterRegisterRequest. setSubClusterInfo(SubClusterInfo subClusterInfo)Set the  SubClusterInfoencapsulating the information about the
 sub-cluster. | 
| abstract void | GetSubClusterInfoResponse. setSubClusterInfo(SubClusterInfo subClusterInfo)Set the  SubClusterInfoencapsulating the information about the
 sub-cluster. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GetSubClustersInfoResponse | GetSubClustersInfoResponse. newInstance(List<SubClusterInfo> subClusters) | 
| abstract void | GetSubClustersInfoResponse. setSubClusters(List<SubClusterInfo> subClusters)Set the list of  SubClusterInforepresenting the information about
 all sub-clusters that are currently participating in Federation. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SubClusterInfoPBImplProtocol buffer based implementation of  SubClusterInfo. | 
| Modifier and Type | Method and Description | 
|---|---|
| SubClusterInfo | SubClusterRegisterRequestPBImpl. getSubClusterInfo() | 
| SubClusterInfo | GetSubClusterInfoResponsePBImpl. getSubClusterInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<SubClusterInfo> | GetSubClustersInfoResponsePBImpl. getSubClusters() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SubClusterRegisterRequestPBImpl. setSubClusterInfo(SubClusterInfo subClusterInfo) | 
| void | GetSubClusterInfoResponsePBImpl. setSubClusterInfo(SubClusterInfo subClusterInfo) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GetSubClustersInfoResponsePBImpl. setSubClusters(List<SubClusterInfo> subClusters) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | FederationMembershipStateStoreInputValidator. checkSubClusterInfo(SubClusterInfo subClusterInfo)Validate if all the required fields on  SubClusterInfoare present
 or not. | 
| Modifier and Type | Method and Description | 
|---|---|
| SubClusterInfo | FederationStateStoreFacade. getSubCluster(SubClusterId subClusterId)Returns the  SubClusterInfofor the specifiedSubClusterId. | 
| SubClusterInfo | FederationStateStoreFacade. getSubCluster(SubClusterId subClusterId,
             boolean flushCache)Updates the cache with the central  FederationStateStoreand returns
 theSubClusterInfofor the specifiedSubClusterId. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<SubClusterId,SubClusterInfo> | FederationStateStoreFacade. getSubClusters(boolean filterInactiveSubClusters)Returns the  SubClusterInfoof all active sub cluster(s). | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.