@Internal public class ApplicationClusterDeployer extends Object implements ApplicationDeployer
main() executed on the cluster, rather than the client.| Constructor and Description |
|---|
ApplicationClusterDeployer(ClusterClientServiceLoader clientServiceLoader) |
| Modifier and Type | Method and Description |
|---|---|
<ClusterID> |
run(org.apache.flink.configuration.Configuration configuration,
ApplicationConfiguration applicationConfiguration)
Submits a user program for execution and runs the main user method on the cluster.
|
public ApplicationClusterDeployer(ClusterClientServiceLoader clientServiceLoader)
public <ClusterID> void run(org.apache.flink.configuration.Configuration configuration,
ApplicationConfiguration applicationConfiguration)
throws Exception
ApplicationDeployerrun in interface ApplicationDeployerconfiguration - the configuration containing all the necessary information about
submitting the user program.applicationConfiguration - an ApplicationConfiguration specific to the
application to be executed.ExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.