You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by sl...@aliyun.com.INVALID on 2019/11/04 04:02:00 UTC

Checkpoint failed all the time

Checkpoint will fail for some reasons,

Is there a way to make checkpoint fail a certain number of times and then
the job will fail automatically

 



 


回复: Checkpoint failed all the time

Posted by sl...@aliyun.com.INVALID.
Thanks

-----邮件原件-----
发件人: Yun Tang <my...@live.com> 
发送时间: 2019年11月4日 15:26
收件人: user-zh@flink.apache.org
主题: Re: Checkpoint failed all the time


Sure, this feature has been implemented in FLINK-12364 [1], all you need do is set the tolerable checkpoint failure numbers via like

env.getCheckpointConfig().setTolerableCheckpointFailureNumber(5);

[1] https://issues.apache.org/jira/browse/FLINK-12364

Best
Yun Tang



From: "sllence@aliyun.com.INVALID" <sl...@aliyun.com.INVALID>
Reply-To: "user-zh@flink.apache.org" <us...@flink.apache.org>
Date: Monday, November 4, 2019 at 12:02 PM
To: "user-zh@flink.apache.org" <us...@flink.apache.org>
Subject: Checkpoint failed all the time

Checkpoint will fail for some reasons,
Is there a way to make checkpoint fail a certain number of times and then the job will fail automatically

[cid:image001.png@01D59306.5A2A8300]



Re: Checkpoint failed all the time

Posted by Yun Tang <my...@live.com>.
Sure, this feature has been implemented in FLINK-12364 [1], all you need do is set the tolerable checkpoint failure numbers via like

env.getCheckpointConfig().setTolerableCheckpointFailureNumber(5);

[1] https://issues.apache.org/jira/browse/FLINK-12364

Best
Yun Tang



From: "sllence@aliyun.com.INVALID" <sl...@aliyun.com.INVALID>
Reply-To: "user-zh@flink.apache.org" <us...@flink.apache.org>
Date: Monday, November 4, 2019 at 12:02 PM
To: "user-zh@flink.apache.org" <us...@flink.apache.org>
Subject: Checkpoint failed all the time

Checkpoint will fail for some reasons,
Is there a way to make checkpoint fail a certain number of times and then the job will fail automatically

[cid:image001.png@01D59306.5A2A8300]