当前位置:网站首页>Flink checkpoint and savepoint
Flink checkpoint and savepoint
2022-06-24 10:27:00 【Juvenile deer】
savepoint and checkpoint All are flink Powerful features for fault tolerance , It can be saved automatically or manually job Operating state
Difference between them
checkpoint:
Application timing trigger , User save status , Will expire , Enable when the internal application fails to restart , But manually cancel when , Will delete the previous checkpoint
savepoint:
The user manually sets the top , The equivalent of a state backup , Can be in bin/flink cancel xx Called when , It is generally used to modify the parallelism , Program upgrade, etc .
If you want to restart after the program stops , When the data is consistent , Highly recommended cancel Do it on time savepoint, Of course, if the program does not involve state, Don't have to
Trigger savepoint
Trigger yes 2 Ways of planting :
1) Direct trigger ===>bin/flinksavepointjobId [targetDirectory] [-yid yarnAppId] in the light of yarn Mode needs to be specified -yid Parameters
2)cancel/stop Trigger when ===> bin/flinkcancel/stop-s [targetDirectory] jobId [-yid yarnAppId]. in the light of yarn Mode needs to be specified -yid Parameters
Checkpoint Reading
stay Flink In Distributed Computing , Fault tolerance is often a concern ,Flink Itself through Checkpoint Operation for snapshot processing , Guarantee job The stability of execution and Failover The reliability of the .checkpoint No interruptions stream、data-flow.

stay Checkpoint There is a key element in :barriers
- barrier take stream Medium record Divide the different checkpoint paragraph ,barrier Not more than record, Strictly behind the data
- Every barrier Will carry the corresponding ID, To distinguish the corresponding snapshot snapshot(checkpoint)
- Different checkpoint Of barrier Can be in stream Medium parallel transmission , This means that snapshot operations can be performed in parallel at the same time
边栏推荐
- canvas无限扫描js特效代码
- 学习使用php对字符串中的特殊符号进行过滤的方法
- 图解杂项【防止丢失进行存档用的】
- Resolved: methods with the same name as their class will not be constructors in
- leetCode-498: 對角線遍曆
- Yolov6: the fast and accurate target detection framework is open source
- Flink checkPoint和SavePoint
- 学习使用php实现无限极评论和无限极转二级评论解决方案
- 2.登陆退出功能开发
- 线程的 sleep() 方法与 wait() 方法的区别
猜你喜欢

4. classification management business development

p5.js千纸鹤动画背景js特效

线程的六种状态

使用swiper左右轮播切换时,Swiper Animate的动画失效,怎么解决?

正规方程、、、

2022年智能机器人与系统国际研讨会(ISoIRS 2022)

SQL Sever中的窗口函数row_number()rank()dense_rank()

CVPR 2022 oral | NVIDIA proposes an efficient visual transformer network a-vit with adaptive token. The calculation of unimportant tokens can be stopped in advance

6. package management business development

Machine learning - principal component analysis (PCA)
随机推荐
【JS逆向分享】某个网站社区信息
leetCode-1823: 找出游戏的获胜者
小程序 rich-text中图片点击放大与自适应大小问题
leetCode-2221: 数组的三角和
5.菜品管理业务开发
The great charm of cookies
numpy.linspace()
Image click enlargement and adaptive size in the applet rich text
leetCode-929: 独特的电子邮件地址
抓包工具charles實踐分享
线程池的状态
Flink checkPoint和SavePoint
SVG+js拖拽滑块圆形进度条
Leetcode interview question 16.06: minimum difference
线程池的执行流程
6. package management business development
Record the range of data that MySQL update will lock
How can I solve the problem that the swiper animation animation fails when switching between left and right rotations of the swiper?
上升的气泡canvas破碎动画js特效
HBuilder制作英雄皮肤抽奖小游戏