Flink yarn -kill

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

Flink yarn -kill

Mikhail Pryakhin-2
Hi Flink community,
Could you please help me clarify the following question:
When a streaming job running in YARN gets manually killed via yarn -kill command is there any way to make a savepoint or other clean up actions before the job manager is killed? 

Kind Regards,
Mike Pryakhin


smime.p7s (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Flink yarn -kill

Andrey Zagrebin
Hi Mike,

'yarn -kill’ is out of Flink control. Currently, there is no hook provided by Flink for this.
Maybe yarn has some feature for this kind of cleanup, then savepoint could be taken there.

Best,
Andrey

On 25 Oct 2018, at 15:44, Mikhail Pryakhin <[hidden email]> wrote:

Hi Flink community,
Could you please help me clarify the following question:
When a streaming job running in YARN gets manually killed via yarn -kill command is there any way to make a savepoint or other clean up actions before the job manager is killed? 

Kind Regards,
Mike Pryakhin