增加有关checkpoint的优化参数
SET execution.checkpointing.timeout = 30min; --checkpoint超时时长
SET execution.checkpointing.min-pause = 1200s; --checkpoint间隔时间
SET execution.checkpointing.externalized-checkpoint-retention = DELETE_ON_CANCELLATION; --作业失败删除checkpoint
SET execution.checkpointing.tolerable-failed-checkpoints = 5; --允许的checkpoint失败次数
SET execution.checkpointing.snapshot-compression = true; --设置checkpoint压缩
SET execution.savepoint.ignore-unclaimed-state = true; --允许跳过无法恢复的checkpoint
SET execution.checkpointing.unaligned = true; --启用未对齐的checkpoint
SET heartbeat.timeout = 6000000; --设置heartbeat超时时长
SET jobmanager.memory.process.size = 256mb; --jobmanager内存
SET taskmanager.memory.process.size = 256mb; --taskmanager内存
flink的checkpoint参数优化
最新推荐文章于 2024-07-23 16:33:07 发布