public abstract class ActiveResourceManagerFactory<WorkerType extends ResourceIDRetrievable> extends ResourceManagerFactory<WorkerType>
ActiveResourceManager
with various implementations of ResourceManagerDriver
.log
Constructor and Description |
---|
ActiveResourceManagerFactory() |
createResourceManager, createResourceManagerProcessContext, createResourceManagerRuntimeServicesConfiguration, supportMultiLeaderSession
protected Configuration getEffectiveConfigurationForResourceManagerAndRuntimeServices(Configuration configuration)
ResourceManagerFactory
ResourceManager
and
ResourceManagerRuntimeServices
. This can be overwritten by ResourceManagerFactory.getEffectiveConfigurationForResourceManager(org.apache.flink.configuration.Configuration)
.getEffectiveConfigurationForResourceManagerAndRuntimeServices
in class ResourceManagerFactory<WorkerType extends ResourceIDRetrievable>
protected Configuration getEffectiveConfigurationForResourceManager(Configuration configuration)
ResourceManagerFactory
ResourceManager
. This
can overwrite ResourceManagerFactory.getEffectiveConfigurationForResourceManagerAndRuntimeServices(org.apache.flink.configuration.Configuration)
.getEffectiveConfigurationForResourceManager
in class ResourceManagerFactory<WorkerType extends ResourceIDRetrievable>
public ResourceManager<WorkerType> createResourceManager(Configuration configuration, ResourceID resourceId, RpcService rpcService, UUID leaderSessionId, HeartbeatServices heartbeatServices, DelegationTokenManager delegationTokenManager, FatalErrorHandler fatalErrorHandler, ClusterInformation clusterInformation, @Nullable String webInterfaceUrl, ResourceManagerMetricGroup resourceManagerMetricGroup, ResourceManagerRuntimeServices resourceManagerRuntimeServices, Executor ioExecutor) throws Exception
createResourceManager
in class ResourceManagerFactory<WorkerType extends ResourceIDRetrievable>
Exception
protected abstract ResourceManagerDriver<WorkerType> createResourceManagerDriver(Configuration configuration, @Nullable String webInterfaceUrl, String rpcAddress) throws Exception
Exception
public static ThresholdMeter createStartWorkerFailureRater(Configuration configuration)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.