public enum YarnResourceManagerFactory extends Enum<YarnResourceManagerFactory> implements org.apache.flink.runtime.resourcemanager.ResourceManagerFactory<YarnWorkerNode>
ResourceManagerFactory implementation which creates a YarnResourceManager.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.runtime.resourcemanager.ResourceManager<YarnWorkerNode> |
createResourceManager(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.runtime.clusterframework.types.ResourceID resourceId,
org.apache.flink.runtime.rpc.RpcService rpcService,
org.apache.flink.runtime.highavailability.HighAvailabilityServices highAvailabilityServices,
org.apache.flink.runtime.heartbeat.HeartbeatServices heartbeatServices,
org.apache.flink.runtime.metrics.MetricRegistry metricRegistry,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler,
org.apache.flink.runtime.entrypoint.ClusterInformation clusterInformation,
String webInterfaceUrl,
org.apache.flink.runtime.metrics.groups.JobManagerMetricGroup jobManagerMetricGroup) |
static YarnResourceManagerFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YarnResourceManagerFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnResourceManagerFactory INSTANCE
public static YarnResourceManagerFactory[] values()
for (YarnResourceManagerFactory c : YarnResourceManagerFactory.values()) System.out.println(c);
public static YarnResourceManagerFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.apache.flink.runtime.resourcemanager.ResourceManager<YarnWorkerNode> createResourceManager(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.clusterframework.types.ResourceID resourceId, org.apache.flink.runtime.rpc.RpcService rpcService, org.apache.flink.runtime.highavailability.HighAvailabilityServices highAvailabilityServices, org.apache.flink.runtime.heartbeat.HeartbeatServices heartbeatServices, org.apache.flink.runtime.metrics.MetricRegistry metricRegistry, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, org.apache.flink.runtime.entrypoint.ClusterInformation clusterInformation, @Nullable String webInterfaceUrl, org.apache.flink.runtime.metrics.groups.JobManagerMetricGroup jobManagerMetricGroup) throws Exception
createResourceManager in interface org.apache.flink.runtime.resourcemanager.ResourceManagerFactory<YarnWorkerNode>ExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.