public interface FederationStateStore extends FederationApplicationHomeSubClusterStore, FederationMembershipStateStore, FederationPolicyStore
FederationApplicationHomeSubClusterStore,
FederationMembershipStateStore, and FederationPolicyStore.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Perform any cleanup operations of the StateStore.
|
Version |
getCurrentVersion()
Get the
Version of the underlying federation state store client. |
void |
init(org.apache.hadoop.conf.Configuration conf)
Initialize the FederationStore.
|
Version |
loadVersion()
Load the version information from the federation state store.
|
addApplicationHomeSubCluster, deleteApplicationHomeSubCluster, getApplicationHomeSubCluster, getApplicationsHomeSubCluster, updateApplicationHomeSubClusterderegisterSubCluster, getSubCluster, getSubClusters, registerSubCluster, subClusterHeartbeatgetPoliciesConfigurations, getPolicyConfiguration, setPolicyConfigurationvoid init(org.apache.hadoop.conf.Configuration conf) throws org.apache.hadoop.yarn.exceptions.YarnException
conf - the cluster configurationorg.apache.hadoop.yarn.exceptions.YarnException - if initialization failsvoid close()
throws Exception
Exception - if cleanup failsVersion getCurrentVersion()
Version of the underlying federation state store client.Version of the underlying federation store clientCopyright © 2008–2023 Apache Software Foundation. All rights reserved.