public enum YarnResourceManagerFactory extends Enum<YarnResourceManagerFactory> implements ResourceManagerFactory<YarnWorkerNode>
ResourceManagerFactory
implementation which creates a YarnResourceManager
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
ResourceManager<YarnWorkerNode> |
createResourceManager(Configuration configuration,
ResourceID resourceId,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
MetricRegistry metricRegistry,
FatalErrorHandler fatalErrorHandler,
ClusterInformation clusterInformation,
String webInterfaceUrl,
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
generateEndpointIdWithUUID, getEndpointId
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 ResourceManager<YarnWorkerNode> createResourceManager(Configuration configuration, ResourceID resourceId, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, MetricRegistry metricRegistry, FatalErrorHandler fatalErrorHandler, ClusterInformation clusterInformation, @Nullable String webInterfaceUrl, JobManagerMetricGroup jobManagerMetricGroup) throws Exception
createResourceManager
in interface ResourceManagerFactory<YarnWorkerNode>
Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.