public interface FederationStateStore extends FederationApplicationHomeSubClusterStore, FederationMembershipStateStore, FederationPolicyStore, FederationReservationHomeSubClusterStore, FederationDelegationTokenStateStore
FederationApplicationHomeSubClusterStore
,
FederationMembershipStateStore
, FederationPolicyStore
, and
FederationReservationHomeSubClusterStore
.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
default void |
checkVersion()
Check the version of federation stateStore.
|
void |
close()
Perform any cleanup operations of the StateStore.
|
void |
deleteStateStore()
We will clear the data in stateStore through the deleteStateStore method.
|
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.
|
void |
storeVersion()
Store the Version information in federation state store.
|
addApplicationHomeSubCluster, deleteApplicationHomeSubCluster, getApplicationHomeSubCluster, getApplicationsHomeSubCluster, updateApplicationHomeSubCluster
deregisterSubCluster, getSubCluster, getSubClusters, registerSubCluster, subClusterHeartbeat
deleteAllPoliciesConfigurations, deletePoliciesConfigurations, getPoliciesConfigurations, getPolicyConfiguration, setPolicyConfiguration
addReservationHomeSubCluster, deleteReservationHomeSubCluster, getReservationHomeSubCluster, getReservationsHomeSubCluster, updateReservationHomeSubCluster
getCurrentKeyId, getDelegationTokenSeqNum, getMasterKeyByDelegationKey, getTokenByRouterStoreToken, incrementCurrentKeyId, incrementDelegationTokenSeqNum, removeStoredMasterKey, removeStoredToken, setDelegationTokenSeqNum, storeNewMasterKey, storeNewToken, updateStoredToken
void 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 clientVersion loadVersion() throws Exception
void storeVersion() throws Exception
Exception
- an exception occurred in store version.default void checkVersion() throws Exception
Exception
- an exception occurred in check version.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.