public abstract class AbstractZooKeeperHaServices extends AbstractHaServices
configuration, ioExecutor, loggerDEFAULT_JOB_ID, DEFAULT_LEADER_ID| Constructor and Description |
|---|
AbstractZooKeeperHaServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper,
Executor executor,
org.apache.flink.configuration.Configuration configuration,
BlobStoreService blobStoreService) |
| Modifier and Type | Method and Description |
|---|---|
CheckpointRecoveryFactory |
createCheckpointRecoveryFactory()
Create the checkpoint recovery factory for the job manager.
|
JobGraphStore |
createJobGraphStore()
Create the submitted job graph store for the job manager.
|
protected void |
deleteZNode(String path) |
protected org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework |
getCuratorFramework() |
protected void |
internalCleanup()
Clean up the meta data in the distributed system(e.g.
|
protected void |
internalCleanupJobData(org.apache.flink.api.common.JobID jobID)
Clean up the meta data in the distributed system(e.g.
|
protected void |
internalClose()
Closes the components which is used for external operations(e.g.
|
close, closeAndCleanupAllData, createBlobStore, createLeaderElectionService, createLeaderRetrievalService, getCheckpointRecoveryFactory, getClusterRestEndpointLeaderElectionService, getClusterRestEndpointLeaderRetriever, getDispatcherLeaderElectionService, getDispatcherLeaderRetriever, getJobGraphStore, getJobManagerLeaderElectionService, getJobManagerLeaderRetriever, getJobManagerLeaderRetriever, getJobResultStore, getLeaderPathForDispatcher, getLeaderPathForJobManager, getLeaderPathForResourceManager, getLeaderPathForRestServer, getResourceManagerLeaderElectionService, getResourceManagerLeaderRetriever, globalCleanupAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWebMonitorLeaderElectionService, getWebMonitorLeaderRetrieverpublic AbstractZooKeeperHaServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper, Executor executor, org.apache.flink.configuration.Configuration configuration, BlobStoreService blobStoreService) throws IOException
IOExceptionprotected final org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework getCuratorFramework()
public CheckpointRecoveryFactory createCheckpointRecoveryFactory() throws Exception
AbstractHaServicescreateCheckpointRecoveryFactory in class AbstractHaServicesExceptionpublic JobGraphStore createJobGraphStore() throws Exception
AbstractHaServicescreateJobGraphStore in class AbstractHaServicesException - if the submitted job graph store could not be createdprotected void internalClose()
throws Exception
AbstractHaServicesinternalClose in class AbstractHaServicesException - if the close operation failedprotected void internalCleanup()
throws Exception
AbstractHaServicesIf an exception occurs during internal cleanup, we will continue the cleanup in AbstractHaServices.closeAndCleanupAllData() and report exceptions only after all cleanup steps have been
attempted.
internalCleanup in class AbstractHaServicesException - when do the cleanup operation on external storage.protected void internalCleanupJobData(org.apache.flink.api.common.JobID jobID)
throws Exception
AbstractHaServicesinternalCleanupJobData in class AbstractHaServicesjobID - The identifier of the job to cleanup.Exception - when do the cleanup operation on external storage.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.