Package org.apache.flink.yarn.entrypoint
Class YarnJobClusterEntrypoint
- java.lang.Object
-
- org.apache.flink.runtime.entrypoint.ClusterEntrypoint
-
- org.apache.flink.runtime.entrypoint.JobClusterEntrypoint
-
- org.apache.flink.yarn.entrypoint.YarnJobClusterEntrypoint
-
- All Implemented Interfaces:
AutoCloseable
,FatalErrorHandler
,AutoCloseableAsync
@Deprecated public class YarnJobClusterEntrypoint extends JobClusterEntrypoint
Deprecated.Per-mode has been deprecated in Flink 1.15 and will be removed in the future. Please use application mode instead.Entry point for Yarn per-job clusters.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.runtime.entrypoint.ClusterEntrypoint
ClusterEntrypoint.ExecutionMode, 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
Constructors Constructor Description YarnJobClusterEntrypoint(Configuration configuration)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected DefaultDispatcherResourceManagerComponentFactory
createDispatcherResourceManagerComponentFactory(Configuration configuration)
Deprecated.protected String
getRPCPortRange(Configuration configuration)
Deprecated.Returns the port range for the commonRpcService
.static void
main(String[] args)
Deprecated.-
Methods inherited from class org.apache.flink.runtime.entrypoint.JobClusterEntrypoint
createSerializableExecutionGraphStore
-
Methods 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, supportsReactiveMode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.util.AutoCloseableAsync
close
-
-
-
-
Constructor Detail
-
YarnJobClusterEntrypoint
public YarnJobClusterEntrypoint(Configuration configuration)
Deprecated.
-
-
Method Detail
-
getRPCPortRange
protected String getRPCPortRange(Configuration configuration)
Deprecated.Description copied from class:ClusterEntrypoint
Returns the port range for the commonRpcService
.- Overrides:
getRPCPortRange
in classClusterEntrypoint
- Parameters:
configuration
- to extract the port range from- Returns:
- Port range for the common
RpcService
-
createDispatcherResourceManagerComponentFactory
protected DefaultDispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) throws IOException
Deprecated.- Specified by:
createDispatcherResourceManagerComponentFactory
in classClusterEntrypoint
- Throws:
IOException
-
main
public static void main(String[] args)
Deprecated.
-
-