flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Rohrmann <trohrm...@apache.org>
Subject Re: How can I submit a flink job to YARN/Cluster from java code?
Date Fri, 28 Jul 2017 09:13:04 GMT

it is possible to submit a job to a running cluster (Standalone/Mesos/Yarn)
by using the RemoteEnvironment which you can create via
ExecutionEnvironment.createRemoteEnvironment and then executing your
program (e.g. running it in the IDE). This assumes that the remote cluster
is already running.

The RemoteEnvironment requires that you give it the hostname and port of
the running cluster or, if using a HA cluster, a properly configured
configuration from which the client can retrieve the HA settings.


On Fri, Jul 28, 2017 at 9:50 AM, 程骥 <ji_cheng@qq.com> wrote:

> Hello,
> I want to submit a flink job to YARN/Cluster from java code.I
> f this is feasible?
> Is there anyone tried to do it before ?
> Thanks

View raw message