Package org.apache.flink.yarn.entrypoint
Class YarnSessionClusterEntrypoint
java.lang.Object
org.apache.flink.runtime.entrypoint.ClusterEntrypoint
org.apache.flink.runtime.entrypoint.SessionClusterEntrypoint
org.apache.flink.yarn.entrypoint.YarnSessionClusterEntrypoint
- All Implemented Interfaces:
AutoCloseable,org.apache.flink.runtime.rpc.FatalErrorHandler,org.apache.flink.util.AutoCloseableAsync
public class YarnSessionClusterEntrypoint
extends org.apache.flink.runtime.entrypoint.SessionClusterEntrypoint
Entry point for Yarn session clusters.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.entrypoint.ClusterEntrypoint
org.apache.flink.runtime.entrypoint.ClusterEntrypoint.ExecutionMode, org.apache.flink.runtime.entrypoint.ClusterEntrypoint.ShutdownBehaviour -
Field Summary
Fields inherited from class org.apache.flink.runtime.entrypoint.ClusterEntrypoint
INTERNAL_CLUSTER_EXECUTION_MODE, LOG, RUNTIME_FAILURE_RETURN_CODE, STARTUP_FAILURE_RETURN_CODE -
Constructor Summary
ConstructorsConstructorDescriptionYarnSessionClusterEntrypoint(org.apache.flink.configuration.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.flink.runtime.entrypoint.component.DispatcherResourceManagerComponentFactorycreateDispatcherResourceManagerComponentFactory(org.apache.flink.configuration.Configuration configuration) protected StringgetRPCPortRange(org.apache.flink.configuration.Configuration configuration) static voidMethods inherited from class org.apache.flink.runtime.entrypoint.SessionClusterEntrypoint
createSerializableExecutionGraphStoreMethods inherited from class org.apache.flink.runtime.entrypoint.ClusterEntrypoint
cleanupDirectories, closeAsync, createHaServices, createHeartbeatServices, createMetricRegistry, getRestPort, getRpcPort, getTerminationFuture, initializeServices, installSecurityContext, loadConfiguration, onFatalError, parseArguments, runClusterEntrypoint, startCluster, stopClusterServices, supportsReactiveModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.util.AutoCloseableAsync
close
-
Constructor Details
-
YarnSessionClusterEntrypoint
public YarnSessionClusterEntrypoint(org.apache.flink.configuration.Configuration configuration)
-
-
Method Details
-
getRPCPortRange
- Overrides:
getRPCPortRangein classorg.apache.flink.runtime.entrypoint.ClusterEntrypoint
-
createDispatcherResourceManagerComponentFactory
protected org.apache.flink.runtime.entrypoint.component.DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(org.apache.flink.configuration.Configuration configuration) - Specified by:
createDispatcherResourceManagerComponentFactoryin classorg.apache.flink.runtime.entrypoint.ClusterEntrypoint
-
main
-