当前位置:网站首页>[Flink] Flink will report an error if it fails to set checkpoints once. Setlerablecheckpointfailurenumber does not work
[Flink] Flink will report an error if it fails to set checkpoints once. Setlerablecheckpointfailurenumber does not work
2022-07-19 13:57:00 【Ninth senior brother】
List of articles

1. summary
Excuse me ,Flink How to make checkpoints fail , The task will stop immediately ?
Flink 1.14.4, I set the checkpoint to a nonexistent path , Checkpoint failed , But the task didn't stop .
How can I make a checkpoint failure cause a task to fail and stop ?
Tried RestartStrategies.noRestart, as well as setTolerableCheckpointFailureNum by 0, But it doesn't work
The corresponding code is as follows

Final solution : -Drestart-strategy=none Just set this . Remove the relevant restart parameters
2. Source code analysis
The settings related to the detection point are CheckpointConfig in , When setting the checkpoint failure tolerance value , The smallest is 0.0 It means reporting an error after one failure
/** * Determines the threshold that we tolerance declined che边栏推荐
- 面额10exp(303)的钞票
- [7.15] code source - [neat array 2] [ternary cycle] [reverse pair on tree] [sequence of cochlea]
- 力扣第 302 场周赛
- ImportError: DLL load failed while importing win32api: 找不到指定的程序。
- 命令行的一些常用操作命令及常见错误的解决办法
- 【CANN训练营】昇腾AI基础知识介绍
- 【ACWing】2521. Count colors
- Interview with Android development companies, make these three preparations and plan yourself
- 无声的AI:昇腾AI如何用大模型破解手语学习的难题?
- FreeRTOS-空闲任务和阻塞延时的实现
猜你喜欢
![[code hoof set novice village 600 questions] the implementation of scientific counting method, output index form](/img/12/008f710253a5d6c96f068e20cd1972.png)
[code hoof set novice village 600 questions] the implementation of scientific counting method, output index form

【7.13】代码源 -【饿饿 饭饭】【路径计数2】【函数求和】

Health prevention guide 3: health care

Introduction:Multiple DataFrames

微服务调用组件feign实战

全面解析C语言多媒体开源框架GStreamer

iVX低代码平台系列详解 -- 概述篇(二)

面额10exp(303)的钞票

版本通告|Apache Doris 1.1 Release 版本正式发布!

No.3汇编进阶
随机推荐
卤味店,如何在低线城市挣钱
Onvif protocol related: 3.1.1 digest access authorization
uniapp 高德地图定位功能
"Technology podcast month" day 10: meta podcast: talk about Podcasting
How to upgrade Flink job gracefully?
QT use qlisview to realize QQ login history list
CBS type PVC recycling strategy
chrome插件用于信息收集
面试记录
【码蹄集新手村 600 题】针对于字符串的格式化控制,即字符串的宽度与精度
ImportError: DLL load failed while importing win32api: 找不到指定的程序。
力扣第 302 场周赛
Principle of voice communication network
关于数据字典的一些解惑
Codeforces Round #808 (Div. 2)ABCD
Use of Google browser developer tools (Master!)
Ranking of mainstream ERP systems, comparison of mainstream ERP systems
Luogu p3512 [poi2010] PIL pilots problem solution
[7.14] code source - [open box] [XOR inverse] [continuous subsequence] [trigonometric fruit count]
[code hoof set novice village question 600] align left and right when outputting