public class FederationStateStoreService
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.server.federation.store.FederationStateStore
FederationStateStore and provides a service for
participating in the federation membership.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
FederationStateStoreService(RMContext rmContext) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterResponse |
addApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterRequest request) |
org.apache.hadoop.yarn.server.federation.store.records.DeleteApplicationHomeSubClusterResponse |
deleteApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.DeleteApplicationHomeSubClusterRequest request) |
org.apache.hadoop.yarn.server.federation.store.records.SubClusterDeregisterResponse |
deregisterSubCluster(org.apache.hadoop.yarn.server.federation.store.records.SubClusterDeregisterRequest subClusterDeregisterRequest) |
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterResponse |
getApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterRequest request) |
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationsHomeSubClusterResponse |
getApplicationsHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.GetApplicationsHomeSubClusterRequest request) |
org.apache.hadoop.yarn.server.records.Version |
getCurrentVersion() |
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsResponse |
getPoliciesConfigurations(org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsRequest request) |
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationResponse |
getPolicyConfiguration(org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationRequest request) |
org.apache.hadoop.yarn.server.federation.store.FederationStateStore |
getStateStoreClient() |
FederationStateStoreHeartbeat |
getStateStoreHeartbeatThread() |
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterInfoResponse |
getSubCluster(org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterInfoRequest subClusterRequest) |
org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoResponse |
getSubClusters(org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoRequest subClustersRequest) |
org.apache.hadoop.yarn.server.records.Version |
loadVersion() |
org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterResponse |
registerSubCluster(org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterRequest registerSubClusterRequest) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
org.apache.hadoop.yarn.server.federation.store.records.SetSubClusterPolicyConfigurationResponse |
setPolicyConfiguration(org.apache.hadoop.yarn.server.federation.store.records.SetSubClusterPolicyConfigurationRequest request) |
org.apache.hadoop.yarn.server.federation.store.records.SubClusterHeartbeatResponse |
subClusterHeartbeat(org.apache.hadoop.yarn.server.federation.store.records.SubClusterHeartbeatRequest subClusterHeartbeatRequest) |
org.apache.hadoop.yarn.server.federation.store.records.UpdateApplicationHomeSubClusterResponse |
updateApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.UpdateApplicationHomeSubClusterRequest request) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic FederationStateStoreService(RMContext rmContext)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic org.apache.hadoop.yarn.server.federation.store.FederationStateStore getStateStoreClient()
public FederationStateStoreHeartbeat getStateStoreHeartbeatThread()
public org.apache.hadoop.yarn.server.records.Version getCurrentVersion()
getCurrentVersion in interface org.apache.hadoop.yarn.server.federation.store.FederationStateStorepublic org.apache.hadoop.yarn.server.records.Version loadVersion()
loadVersion in interface org.apache.hadoop.yarn.server.federation.store.FederationStateStorepublic org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationResponse getPolicyConfiguration(org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
getPolicyConfiguration in interface org.apache.hadoop.yarn.server.federation.store.FederationPolicyStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.SetSubClusterPolicyConfigurationResponse setPolicyConfiguration(org.apache.hadoop.yarn.server.federation.store.records.SetSubClusterPolicyConfigurationRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
setPolicyConfiguration in interface org.apache.hadoop.yarn.server.federation.store.FederationPolicyStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsResponse getPoliciesConfigurations(org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
getPoliciesConfigurations in interface org.apache.hadoop.yarn.server.federation.store.FederationPolicyStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterResponse registerSubCluster(org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterRequest registerSubClusterRequest)
throws org.apache.hadoop.yarn.exceptions.YarnException
registerSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationMembershipStateStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.SubClusterDeregisterResponse deregisterSubCluster(org.apache.hadoop.yarn.server.federation.store.records.SubClusterDeregisterRequest subClusterDeregisterRequest)
throws org.apache.hadoop.yarn.exceptions.YarnException
deregisterSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationMembershipStateStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.SubClusterHeartbeatResponse subClusterHeartbeat(org.apache.hadoop.yarn.server.federation.store.records.SubClusterHeartbeatRequest subClusterHeartbeatRequest)
throws org.apache.hadoop.yarn.exceptions.YarnException
subClusterHeartbeat in interface org.apache.hadoop.yarn.server.federation.store.FederationMembershipStateStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterInfoResponse getSubCluster(org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterInfoRequest subClusterRequest)
throws org.apache.hadoop.yarn.exceptions.YarnException
getSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationMembershipStateStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoResponse getSubClusters(org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoRequest subClustersRequest)
throws org.apache.hadoop.yarn.exceptions.YarnException
getSubClusters in interface org.apache.hadoop.yarn.server.federation.store.FederationMembershipStateStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterResponse addApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
addApplicationHomeSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationApplicationHomeSubClusterStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.UpdateApplicationHomeSubClusterResponse updateApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.UpdateApplicationHomeSubClusterRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
updateApplicationHomeSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationApplicationHomeSubClusterStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterResponse getApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
getApplicationHomeSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationApplicationHomeSubClusterStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.GetApplicationsHomeSubClusterResponse getApplicationsHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.GetApplicationsHomeSubClusterRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
getApplicationsHomeSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationApplicationHomeSubClusterStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.server.federation.store.records.DeleteApplicationHomeSubClusterResponse deleteApplicationHomeSubCluster(org.apache.hadoop.yarn.server.federation.store.records.DeleteApplicationHomeSubClusterRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
deleteApplicationHomeSubCluster in interface org.apache.hadoop.yarn.server.federation.store.FederationApplicationHomeSubClusterStoreorg.apache.hadoop.yarn.exceptions.YarnExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.