@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(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(Configuration configuration, ApplicationConfiguration applicationConfiguration) throws Exception
ApplicationDeployer
run
in interface ApplicationDeployer
configuration
- the configuration containing all the necessary information about
submitting the user program.applicationConfiguration
- an ApplicationConfiguration
specific to the
application to be executed.Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.