flink cdc,standalone模式下,任务运行一段时间taskmanager挂掉

在使用flink cdc,配置任务运行,过了几天后,任务无故取消,超时,导致taskmanager挂掉,相关异常如下:
异常1:
did not react to cancelling signal interrupting; it is stuck for 30 seconds in method:org.apache.flink.connector.idbc.internal.JdbcoutputFormat,flush (idbcoutoutFormat.iava:215)
在这里插入图片描述
异常2:
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.

处理该问题,需要在 flink-conf.yaml配置文件加上:
task.cancellation.timeout: 0
这个配置的含义是,超时(以毫秒为单位),在此之后任务取消超时并导致致命的 TaskManager 错误。

相关推荐

  1. Mysql怎么办

    2024-01-31 11:34:02       20 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-01-31 11:34:02       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-01-31 11:34:02       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-01-31 11:34:02       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-01-31 11:34:02       18 阅读

热门阅读

  1. Threejs API——`OrbitControls`相机控件

    2024-01-31 11:34:02       32 阅读
  2. Nginx中日志模块的应用和配置!

    2024-01-31 11:34:02       32 阅读
  3. 人类算计(谋算)的形式化研究

    2024-01-31 11:34:02       33 阅读