Class ApplicationClusterDeployer
java.lang.Object
org.apache.flink.client.deployment.application.cli.ApplicationClusterDeployer
- All Implemented Interfaces:
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.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ClusterID>
ClusterIDrun(org.apache.flink.configuration.Configuration configuration, ApplicationConfiguration applicationConfiguration) Submits a user program for execution and runs the main user method on the cluster.
-
Constructor Details
-
ApplicationClusterDeployer
-
-
Method Details
-
run
public <ClusterID> ClusterID run(org.apache.flink.configuration.Configuration configuration, ApplicationConfiguration applicationConfiguration) throws Exception Description copied from interface:ApplicationDeployerSubmits a user program for execution and runs the main user method on the cluster.- Specified by:
runin interfaceApplicationDeployer- Parameters:
configuration- the configuration containing all the necessary information about submitting the user program.applicationConfiguration- anApplicationConfigurationspecific to the application to be executed.- Throws:
Exception
-