You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Chen Zhanghao <zh...@outlook.com> on 2023/08/26 11:41:10 UTC

回复: Stoping a Job Without killing Task Manager

Hi Kenan,

Flink introduces the watchdog mechanism that makes TM suicide as the final safety net for properly cancel a task that got stuck in the cancellation phase for too long. The mechanism is necessary as there's no other alternatives to force killing a stuck task other than killing the process, but it is not meant to be triggered in normal uses. Therefore, I think you should investigate on why your tasks got stuck in the first place.

Best,
Zhanghao Chen
________________________________
发件人: Kenan Kılıçtepe <kk...@gmail.com>
发送时间: 2023年8月26日 1:14
收件人: user@flink.apache.org <us...@flink.apache.org>
主题: Stoping a Job Without killing Task Manager

Hi,

When I try to stop a job, if the job can not be stopped after a while, task manager gets killed.
This is a big problem for me as there may be other jobs running on the same task manager.
Is there a way to stop jobs that get stuck for some reason without causing the task manager to terminate?

Thanks
Kenan