public class YarnSessionClusterEntrypoint extends SessionClusterEntrypoint
ClusterEntrypoint.ExecutionMode, ClusterEntrypoint.ShutdownBehaviour
INTERNAL_CLUSTER_EXECUTION_MODE, LOG, RUNTIME_FAILURE_RETURN_CODE, STARTUP_FAILURE_RETURN_CODE
Constructor and Description |
---|
YarnSessionClusterEntrypoint(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
protected DispatcherResourceManagerComponentFactory |
createDispatcherResourceManagerComponentFactory(Configuration configuration) |
protected String |
getRPCPortRange(Configuration configuration)
Returns the port range for the common
RpcService . |
static void |
main(String[] args) |
createSerializableExecutionGraphStore
cleanupDirectories, closeAsync, createHaServices, createHeartbeatServices, createMetricRegistry, getRestPort, getRpcPort, getTerminationFuture, initializeServices, loadConfiguration, onFatalError, parseArguments, runClusterEntrypoint, startCluster, stopClusterServices, supportsReactiveMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public YarnSessionClusterEntrypoint(Configuration configuration)
protected String getRPCPortRange(Configuration configuration)
ClusterEntrypoint
RpcService
.getRPCPortRange
in class ClusterEntrypoint
configuration
- to extract the port range fromRpcService
protected DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration)
createDispatcherResourceManagerComponentFactory
in class ClusterEntrypoint
public static void main(String[] args)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.