Checkpoint failed all the time

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

Checkpoint failed all the time

silence-2

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

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Checkpoint failed all the time

Yun Tang

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: "[hidden email]" <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, November 4, 2019 at 12:02 PM
To: "[hidden email]" <[hidden email]>
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]

Reply | Threaded
Open this post in threaded view
|

回复: Checkpoint failed all the time

silence-2
Thanks

-----邮件原件-----
发件人: Yun Tang <[hidden email]>
发送时间: 2019年11月4日 15:26
收件人: [hidden email]
主题: 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: "[hidden email]" <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, November 4, 2019 at 12:02 PM
To: "[hidden email]" <[hidden email]>
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]