- 问题描述:
我这边运行了一段时间后,taskmanager总是挂掉。配置的是standalone模式,solt是32,并发度是3。看日志错误提示是Task ‘Source: Custom Source -> Map -> Map -> to: Row -> Map -> Sink: Unnamed (1/3)’ did not react to cancelling signal for 30 seconds Task did not exit gracefully within 180 + seconds. TaskManager挂掉之前反复报这俩错误。
解决方案:
在flink-conf.yaml中配置task.cancellation.timeout: 0 就可以了。Timeout in milliseconds after which a task cancellation times out and leads to a fatal TaskManager error.
A value of 0 deactivates the watch dog.
task.cancellation.timeout: 0
Flink提交运行中常见问题总结
最新推荐文章于 2024-12-01 22:51:59 发布