@Internal public class ApplicationClusterDeployer extends Object implements ApplicationDeployer
main() executed on the cluster, rather than
the client.| 构造器和说明 |
|---|
ApplicationClusterDeployer(ClusterClientServiceLoader clientServiceLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
<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 在接口中 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–2020 The Apache Software Foundation. All rights reserved.