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

    Constructors
    Constructor
    Description
    YarnSessionClusterEntrypoint(org.apache.flink.configuration.Configuration configuration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.flink.runtime.entrypoint.component.DispatcherResourceManagerComponentFactory
    createDispatcherResourceManagerComponentFactory(org.apache.flink.configuration.Configuration configuration)
     
    protected String
    getRPCPortRange(org.apache.flink.configuration.Configuration configuration)
     
    static void
    main(String[] args)
     

    Methods inherited from class org.apache.flink.runtime.entrypoint.SessionClusterEntrypoint

    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 Details

    • YarnSessionClusterEntrypoint

      public YarnSessionClusterEntrypoint(org.apache.flink.configuration.Configuration configuration)
  • Method Details

    • getRPCPortRange

      protected String getRPCPortRange(org.apache.flink.configuration.Configuration configuration)
      Overrides:
      getRPCPortRange in class org.apache.flink.runtime.entrypoint.ClusterEntrypoint
    • createDispatcherResourceManagerComponentFactory

      protected org.apache.flink.runtime.entrypoint.component.DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(org.apache.flink.configuration.Configuration configuration)
      Specified by:
      createDispatcherResourceManagerComponentFactory in class org.apache.flink.runtime.entrypoint.ClusterEntrypoint
    • main

      public static void main(String[] args)