Apache Flink Web Monitor Api

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

Apache Flink Web Monitor Api

Ozan DENİZ
Hi everyone,
We need to implement api functions to cancel, restart and start the flink job.
Is there any way to add these functions to WebMonitor api?Is there any plan to implement these functions to WebMonitor api?
Thanks.
Ozan    
Reply | Threaded
Open this post in threaded view
|

Re: Apache Flink Web Monitor Api

Ufuk Celebi-2
Hey Ozan! For cancel and submit, yes:

- cancel: /jobs/:jobid/cancel
- submit: /jars/upload and /jars/:jarid/run

You can look into WebRuntimeMonitor class for more details about the
submission. Cancellation should be straight forward.

Restart is currently not supported via the REST API and I'm not aware
of any plans to add this.

– Ufuk


On Mon, Jun 6, 2016 at 9:57 AM, Ozan DENİZ <[hidden email]> wrote:
> Hi everyone,
> We need to implement api functions to cancel, restart and start the flink job.
> Is there any way to add these functions to WebMonitor api?Is there any plan to implement these functions to WebMonitor api?
> Thanks.
> Ozan
Reply | Threaded
Open this post in threaded view
|

RE: Apache Flink Web Monitor Api

Ozan DENİZ
Hi Ufuk,
Thank you for your response.
We've seen the cancel and run operations in code.However, it would be very nice to add restart operation.
We're now implementing custom api to restart flink app.

> From: [hidden email]
> Date: Mon, 6 Jun 2016 15:57:48 +0200
> Subject: Re: Apache Flink Web Monitor Api
> To: [hidden email]
>
> Hey Ozan! For cancel and submit, yes:
>
> - cancel: /jobs/:jobid/cancel
> - submit: /jars/upload and /jars/:jarid/run
>
> You can look into WebRuntimeMonitor class for more details about the
> submission. Cancellation should be straight forward.
>
> Restart is currently not supported via the REST API and I'm not aware
> of any plans to add this.
>
> – Ufuk
>
>
> On Mon, Jun 6, 2016 at 9:57 AM, Ozan DENİZ <[hidden email]> wrote:
> > Hi everyone,
> > We need to implement api functions to cancel, restart and start the flink job.
> > Is there any way to add these functions to WebMonitor api?Is there any plan to implement these functions to WebMonitor api?
> > Thanks.
> > Ozan