Submitting an app via API

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Submitting an app via API

Luqman Ghani
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
Reply | Threaded
Open this post in threaded view
|

Re: Submitting an app via API

Ufuk Celebi
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Submitting an app via API

Luqman Ghani
Hi,

Thanks a lot.

On Mon, Feb 6, 2017 at 9:06 PM, Ufuk Celebi <[hidden email]> 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 <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: Submitting an app via API

Flavio Pompermaier
In reply to this post by Ufuk Celebi
Hi Ufuk,
does it work also for batch?

On Mon, Feb 6, 2017 at 5:06 PM, Ufuk Celebi <[hidden email]> 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 <[hidden email]> 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
_______________________________________________
OKKAMSrl www.okkam.it

Phone: +(39) 0461 1823908
Fax: + (39) 0461 186 6433
Email: [hidden email]
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.

Reply | Threaded
Open this post in threaded view
|

Re: Submitting an app via API

Ufuk Celebi
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 ([hidden email]) 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:* [hidden email]
> *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.
>  

Reply | Threaded
Open this post in threaded view
|

Re: Submitting an app via API

Flavio Pompermaier
Ok thanks!
That's superuseful

On 7 Feb 2017 08:51, "Ufuk Celebi" <[hidden email]> 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 ([hidden email]) 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:* <a href="tel:%2B%2839%29%200461%201823908" value="+3904611823908">+(39) 0461 1823908
> *Fax:* <a href="tel:%2B%20%2839%29%200461%20186%206433" value="+3904611866433">+ (39) 0461 186 6433
> *Email:* [hidden email]
> *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.
>