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是存在的。 mysql-bin.034461/62793950
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。