Class ApplicationClusterDeployer

  • All Implemented Interfaces:
    ApplicationDeployer

    @Internal
    public class ApplicationClusterDeployer
    extends Object
    implements ApplicationDeployer
    An entity responsible for submitting an application for execution in "Application Mode", i.e. on a dedicated cluster that is created on application submission and torn down upon application termination, and with its main() executed on the cluster, rather than the client.
    • Method Detail

      • run

        public <ClusterID> ClusterID run​(org.apache.flink.configuration.Configuration configuration,
                                         ApplicationConfiguration applicationConfiguration)
                                  throws Exception
        Description copied from interface: ApplicationDeployer
        Submits a user program for execution and runs the main user method on the cluster.
        Specified by:
        run in interface ApplicationDeployer
        Parameters:
        configuration - the configuration containing all the necessary information about submitting the user program.
        applicationConfiguration - an ApplicationConfiguration specific to the application to be executed.
        Throws:
        Exception