You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Luqman Ghani <lg...@gmail.com> on 2017/02/05 15:43:32 UTC
Submitting an app via API
Hi,
On quickstart page of Flink docs, it suggests starting a Flink app with
"bin/flink" command on command line. Is there any other way of submitting
to a cluster of flink, that is, through API call within a program, or
through server request?
Thanks,
Luqman
Re: Submitting an app via API
Posted by Luqman Ghani <lg...@gmail.com>.
Hi,
Thanks a lot.
On Mon, Feb 6, 2017 at 9:06 PM, Ufuk Celebi <uc...@apache.org> wrote:
> You can use RemoteStreamEnvironment or the REST APIs
> (https://ci.apache.org/projects/flink/flink-docs-
> release-1.3/monitoring/rest_api.html#submitting-programs).
>
> On Sun, Feb 5, 2017 at 4:43 PM, Luqman Ghani <lg...@gmail.com> wrote:
> > Hi,
> >
> > On quickstart page of Flink docs, it suggests starting a Flink app with
> > "bin/flink" command on command line. Is there any other way of
> submitting to
> > a cluster of flink, that is, through API call within a program, or
> through
> > server request?
> >
> > Thanks,
> > Luqman
>
Re: Submitting an app via API
Posted by Flavio Pompermaier <po...@okkam.it>.
Ok thanks!
That's superuseful
On 7 Feb 2017 08:51, "Ufuk Celebi" <uc...@apache.org> wrote:
Hey Flavio!
Yes, the REST API call is the same and the environment for batch
is RemoteEnvironment.
– Ufuk
On 6 February 2017 at 19:18:31, Flavio Pompermaier (pompermaier@okkam.it)
wrote:
> Hi Ufuk,
> does it work also for batch?
>
> On Mon, Feb 6, 2017 at 5:06 PM, Ufuk Celebi wrote:
>
> > You can use RemoteStreamEnvironment or the REST APIs
> > (https://ci.apache.org/projects/flink/flink-docs-
> > release-1.3/monitoring/rest_api.html#submitting-programs).
> >
> > On Sun, Feb 5, 2017 at 4:43 PM, Luqman Ghani wrote:
> > > Hi,
> > >
> > > On quickstart page of Flink docs, it suggests starting a Flink app
with
> > > "bin/flink" command on command line. Is there any other way of
> > submitting to
> > > a cluster of flink, that is, through API call within a program, or
> > through
> > > server request?
> > >
> > > Thanks,
> > > Luqman
> >
>
>
>
> --
>
> Flavio Pompermaier
>
> *Development Department*_______________________________________________
> *OKKAM**Srl **- www.okkam.it *
>
> *Phone:* +(39) 0461 1823908
> *Fax:* + (39) 0461 186 6433
> *Email:* pompermaier@okkam.it
> *Headquarters:* Trento (Italy), via G.B. Trener 8
> *Registered office:* Trento (Italy), via Segantini 23
>
> Confidentially notice. This e-mail transmission may contain legally
> privileged and/or confidential information. Please do not read it if you
> are not the intended recipient(S). Any use, distribution, reproduction or
> disclosure by any other person is strictly prohibited. If you have
received
> this e-mail in error, please notify the sender and destroy the original
> transmission and its attachments without reading or saving it in any
manner.
>
Re: Submitting an app via API
Posted by Ufuk Celebi <uc...@apache.org>.
Hey Flavio!
Yes, the REST API call is the same and the environment for batch is RemoteEnvironment.
– Ufuk
On 6 February 2017 at 19:18:31, Flavio Pompermaier (pompermaier@okkam.it) wrote:
> Hi Ufuk,
> does it work also for batch?
>
> On Mon, Feb 6, 2017 at 5:06 PM, Ufuk Celebi wrote:
>
> > You can use RemoteStreamEnvironment or the REST APIs
> > (https://ci.apache.org/projects/flink/flink-docs-
> > release-1.3/monitoring/rest_api.html#submitting-programs).
> >
> > On Sun, Feb 5, 2017 at 4:43 PM, Luqman Ghani wrote:
> > > Hi,
> > >
> > > On quickstart page of Flink docs, it suggests starting a Flink app with
> > > "bin/flink" command on command line. Is there any other way of
> > submitting to
> > > a cluster of flink, that is, through API call within a program, or
> > through
> > > server request?
> > >
> > > Thanks,
> > > Luqman
> >
>
>
>
> --
>
> Flavio Pompermaier
>
> *Development Department*_______________________________________________
> *OKKAM**Srl **- www.okkam.it *
>
> *Phone:* +(39) 0461 1823908
> *Fax:* + (39) 0461 186 6433
> *Email:* pompermaier@okkam.it
> *Headquarters:* Trento (Italy), via G.B. Trener 8
> *Registered office:* Trento (Italy), via Segantini 23
>
> Confidentially notice. This e-mail transmission may contain legally
> privileged and/or confidential information. Please do not read it if you
> are not the intended recipient(S). Any use, distribution, reproduction or
> disclosure by any other person is strictly prohibited. If you have received
> this e-mail in error, please notify the sender and destroy the original
> transmission and its attachments without reading or saving it in any manner.
>
Re: Submitting an app via API
Posted by Flavio Pompermaier <po...@okkam.it>.
Hi Ufuk,
does it work also for batch?
On Mon, Feb 6, 2017 at 5:06 PM, Ufuk Celebi <uc...@apache.org> wrote:
> You can use RemoteStreamEnvironment or the REST APIs
> (https://ci.apache.org/projects/flink/flink-docs-
> release-1.3/monitoring/rest_api.html#submitting-programs).
>
> On Sun, Feb 5, 2017 at 4:43 PM, Luqman Ghani <lg...@gmail.com> wrote:
> > Hi,
> >
> > On quickstart page of Flink docs, it suggests starting a Flink app with
> > "bin/flink" command on command line. Is there any other way of
> submitting to
> > a cluster of flink, that is, through API call within a program, or
> through
> > server request?
> >
> > Thanks,
> > Luqman
>
--
Flavio Pompermaier
*Development Department*_______________________________________________
*OKKAM**Srl **- www.okkam.it <http://www.okkam.it/>*
*Phone:* +(39) 0461 1823908
*Fax:* + (39) 0461 186 6433
*Email:* pompermaier@okkam.it
*Headquarters:* Trento (Italy), via G.B. Trener 8
*Registered office:* Trento (Italy), via Segantini 23
Confidentially notice. This e-mail transmission may contain legally
privileged and/or confidential information. Please do not read it if you
are not the intended recipient(S). Any use, distribution, reproduction or
disclosure by any other person is strictly prohibited. If you have received
this e-mail in error, please notify the sender and destroy the original
transmission and its attachments without reading or saving it in any manner.
Re: Submitting an app via API
Posted by Ufuk Celebi <uc...@apache.org>.
You can use RemoteStreamEnvironment or the REST APIs
(https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/rest_api.html#submitting-programs).
On Sun, Feb 5, 2017 at 4:43 PM, Luqman Ghani <lg...@gmail.com> wrote:
> Hi,
>
> On quickstart page of Flink docs, it suggests starting a Flink app with
> "bin/flink" command on command line. Is there any other way of submitting to
> a cluster of flink, that is, through API call within a program, or through
> server request?
>
> Thanks,
> Luqman