Production readiness of Flink Job Stop Service

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

Production readiness of Flink Job Stop Service

chiggi_dev
Hi,

I am planning to use the Stop Service for stopping/resuming/pausing my Flink Job. My intention is to stop sources before we take the savepoint i.e. stop with savepoint. 

I know that since Flink 1.4.2, Stop is not stable/not production ready. 

With Flink 1.5 can it be used for stopping jobs?

Regards,

Chirag 
Reply | Threaded
Open this post in threaded view
|

Re: Production readiness of Flink Job Stop Service

vino yang

2018-07-19 14:25 GMT+08:00 Chirag Dewan <[hidden email]>:
Hi,

I am planning to use the Stop Service for stopping/resuming/pausing my Flink Job. My intention is to stop sources before we take the savepoint i.e. stop with savepoint. 

I know that since Flink 1.4.2, Stop is not stable/not production ready. 

With Flink 1.5 can it be used for stopping jobs?

Regards,

Chirag 

Reply | Threaded
Open this post in threaded view
|

Re: Production readiness of Flink Job Stop Service

Fabian Hueske-2
Hi Chirag,

Stop with savepoint is not mentioned in the 1.5.0 release notes [1].
Since its a frequently requested feature, I'm pretty sure that it would have been mentioned if it was added.

Best, Fabian



2018-07-19 8:39 GMT+02:00 vino yang <[hidden email]>:

2018-07-19 14:25 GMT+08:00 Chirag Dewan <[hidden email]>:
Hi,

I am planning to use the Stop Service for stopping/resuming/pausing my Flink Job. My intention is to stop sources before we take the savepoint i.e. stop with savepoint. 

I know that since Flink 1.4.2, Stop is not stable/not production ready. 

With Flink 1.5 can it be used for stopping jobs?

Regards,

Chirag 


Reply | Threaded
Open this post in threaded view
|

Re: Production readiness of Flink Job Stop Service

chiggi_dev
Thanks a lot Fabian and Vino.

Is there anyway I can do that without stop? Although the plan should be to use a Two Phase commit sink so that there are no duplicates, I am looking for stopping the sources before the savepoint is triggered.

Thanks,

Chirag


On Thu, 19 Jul 2018 at 1:35 PM, Fabian Hueske
Hi Chirag,

Stop with savepoint is not mentioned in the 1.5.0 release notes [1].
Since its a frequently requested feature, I'm pretty sure that it would have been mentioned if it was added.

Best, Fabian



2018-07-19 8:39 GMT+02:00 vino yang <[hidden email]>:

2018-07-19 14:25 GMT+08:00 Chirag Dewan <[hidden email]>:
Hi,

I am planning to use the Stop Service for stopping/resuming/pausing my Flink Job. My intention is to stop sources before we take the savepoint i.e. stop with savepoint. 

I know that since Flink 1.4.2, Stop is not stable/not production ready. 

With Flink 1.5 can it be used for stopping jobs?

Regards,

Chirag 


Reply | Threaded
Open this post in threaded view
|

Re: Production readiness of Flink Job Stop Service

vino yang
Hi Chirag,

Actually, if you want to use "stop/resume/pause" pattern, you can trigger a savepoint before stopping job, then you can resume your job with specify this savepoint. The savepoint does not bind with cancel command, although you can only invoke "cancel with savepoint" now.

Now you mentioned "how to implement a sink to make it no duplicate records" and "stop source before the savepoint is triggered", not only about "stop with savepoint". Can you describe your use case more clear or provide more detail information?

Here is a mailing list about discussing "cancel and stop"[1].


Thanks, vino. 

2018-07-23 10:38 GMT+08:00 Chirag Dewan <[hidden email]>:
Thanks a lot Fabian and Vino.

Is there anyway I can do that without stop? Although the plan should be to use a Two Phase commit sink so that there are no duplicates, I am looking for stopping the sources before the savepoint is triggered.

Thanks,

Chirag


On Thu, 19 Jul 2018 at 1:35 PM, Fabian Hueske
Hi Chirag,

Stop with savepoint is not mentioned in the 1.5.0 release notes [1].
Since its a frequently requested feature, I'm pretty sure that it would have been mentioned if it was added.

Best, Fabian



2018-07-19 8:39 GMT+02:00 vino yang <[hidden email]>:

2018-07-19 14:25 GMT+08:00 Chirag Dewan <[hidden email]>:
Hi,

I am planning to use the Stop Service for stopping/resuming/pausing my Flink Job. My intention is to stop sources before we take the savepoint i.e. stop with savepoint. 

I know that since Flink 1.4.2, Stop is not stable/not production ready. 

With Flink 1.5 can it be used for stopping jobs?

Regards,

Chirag