public abstract class AbstractZooKeeperHaServices extends AbstractHaServices
configuration, ioExecutor, loggerDEFAULT_JOB_ID, DEFAULT_LEADER_ID| 构造器和说明 |
|---|
AbstractZooKeeperHaServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper,
Executor executor,
org.apache.flink.configuration.Configuration configuration,
BlobStoreService blobStoreService) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 AbstractHaServicesExceptionpublic JobGraphStore createJobGraphStore() throws Exception
AbstractHaServicescreateJobGraphStore 在类中 AbstractHaServicesException - if the submitted job graph store could not be createdprotected void internalClose()
throws Exception
AbstractHaServicesinternalClose 在类中 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 在类中 AbstractHaServicesException - when do the cleanup operation on external storage.protected void internalCleanupJobData(org.apache.flink.api.common.JobID jobID)
throws Exception
AbstractHaServicesinternalCleanupJobData 在类中 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.