开发者社区 > 大数据与机器学习 > 实时计算 Flink > 正文

Flink CDC里这种错误怎么办?

Flink CDC里这种错误怎么办?2024-04-01 17:02:43,377 ERROR io.debezium.pipeline.ErrorHandler [] - Producer failure
io.debezium.DebeziumException: Failed to deserialize data of EventHeaderV4{timestamp=1711944895000, eventType=EXT_UPDATE_ROWS, serverId=44240, headerLength=19, dataLength=185729, nextPosition=62979811, flags=0}
at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.wrap(MySqlStreamingChangeEventSource.java:1488) ~[flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at io.debezium.connector.mysql.MySqlStreamingChangeEventSource$ReaderThreadLifecycleListener.onCommunicationFailure(MySqlStreamingChangeEventSource.java:1544) [flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1079) [flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:631) [flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:932) [flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]Caused by: com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException: Failed to deserialize data of EventHeaderV4{timestamp=1711944895000, eventType=EXT_UPDATE_ROWS, serverId=44240, headerLength=19, dataLength=185729, nextPosition=62979811, flags=0}
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.deserializeEventData(EventDeserializer.java:341) ~[flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.nextEvent(EventDeserializer.java:244) ~[flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at io.debezium.connector.mysql.MySqlStreamingChangeEventSource$1.nextEvent(MySqlStreamingChangeEventSource.java:259) ~[flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1051) ~[flink-sql-connector-mysql-cdc-3.0.1.jar:3.0.1]
... 3 more
Caused by: java.io.EOFException: Failed to read remaining 11106 of 89606 bytes from position 14410075. Block length: 13499. Initial block length: 185729.我是写入hive的,binlog是存在的。60cec593980fb1807e1955a6e49c3f4c.png mysql-bin.034461/62793950

展开
收起
小小鹿鹿鹿 2024-04-08 19:19:17 160 0
0 条回答
写回答
取消 提交回答

实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。

相关产品

  • 实时计算 Flink版
  • 相关电子书

    更多
    Flink CDC Meetup PPT - 龚中强 立即下载
    Flink CDC Meetup PPT - 王赫 立即下载
    Flink CDC Meetup PPT - 覃立辉 立即下载