【Flink】KryoException: Encountered unregistered class ID: 3718

1.美图

在这里插入图片描述

2.背景

偶然看到的报错

2020-04-15 10:47:00,602 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - CEP: Securityevent Correlation (securityevent_correlation) -> Map (1/1) (a8472fde40564c9c20cfd80854517e0f) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,602 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - filterlabel -> Map (1/1) (57fc01dc6c7f300e6f9547c24ca3ac01) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,603 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - filterlabel -> Map (1/1) (117d9905ab12f37f012cea71e4c2cdf4) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,617 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - CEP: SecurityEvent Statistics Engine (securityEvent_metric) -> Map (1/1) (0c179d1a70635624624ebf9b639487fa) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,617 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: CepSecurityEventSource (1/1) (39cde7d841f6eb4556643d6bd133a49d) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,617 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: com.dbapp.ailpha.topic.securityevent.control Control (1/1) (c899f9b4b1e2dfbec96c538f3d42a02e) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,916 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - OutputEnricher -> Sink: metricSink (1/3) (6b3c9396a52a94dead057b2a8e5b0242) switched from RUNNING to FAILED.
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 3718
	at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:119)
	at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:641)
	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:752)
	at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:143)
	at com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:21)
	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:761)
	at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.deserialize(KryoSerializer.java:346)
	at org.apache.flink.streaming.runtime.streamrecord.StreamElementSerializer.deserialize(StreamElementSerializer.java:202)
	at org.apache.flink.streaming.runtime.streamrecord.StreamElementSerializer.deserialize(StreamElementSerializer.java:46)
	at org.apache.flink.runtime.plugable.NonReusingDeserializationDelegate.read(NonReusingDeserializationDelegate.java:55)
	at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.getNextRecord(SpillingAdaptiveSpanningRecordDeserializer.java:141)
	at org.apache.flink.streaming.runtime.io.StreamTaskNetworkInput.pollNextNullable(StreamTaskNetworkInput.java:91)
	at org.apache.flink.streaming.runtime.io.StreamTaskNetworkInput.pollNextNullable(StreamTaskNetworkInput.java:47)
	at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:135)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:279)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.run(StreamTask.java:301)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:406)
	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:705)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:530)
	at java.lang.Thread.run(Thread.java:745)
2020-04-15 10:47:00,917 INFO  org.apache.flink.runtime.executiongraph.failover.flip1.RestartPipelinedRegionStrategy  - Calculating tasks to restart to recover the failed task cd62d5660547b2faaca9e50c74f4272d_0.
2020-04-15 10:47:00,917 INFO  org.apache.flink.runtime.executiongraph.failover.flip1.RestartPipelinedRegionStrategy  - 17 tasks should be restarted to recover the failed task cd62d5660547b2faaca9e50c74f4272d_0. 
2020-04-15 10:47:00,917 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: CepDistinctSecurityLogSource (1/1) (1442959c509369c3bf3b31e8a7eb721a) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,918 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: com.dbapp.topic.rawevent.control Control (1/1) (af0a5d534c11eac4493076cf66c4cec1) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,918 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - OutputEnricher -> Sink: distinctMetricSink (1/1) (bdcfd13e2ed14cb6aa1e30a9d2c63480) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,919 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: CepSecurityLogSource (1/3) (81339ec647481b1541f2f05b98645570) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,919 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: CepSecurityLogSource (2/3) (130941dc509ae66ad6f8b675539fab9b) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,919 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - CEP: SecurityLog Statistics Distinct Engine (securityLog_metric_distinct) -> Map (1/1) (171c027ce808006919053c6e85ef5ae0) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,919 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - Source: CepSecurityLogSource (3/3) (1d6a67b15f0f38e5060ee368e0e45a82) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - CEP: SecurityLog Statistics Engine (securityLog_metric) -> Map (2/3) (c8cae6a544f0e0e5b339ca03d9aae5d6) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - CEP: SecurityLog Statistics Engine (securityLog_metric) -> Map (1/3) (7efbb1fe2088eb130e576ee76539f2a1) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - filterlabel -> Map (1/1) (504798c2abe5ff11a99b1deb7950c537) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - CEP: SecurityLog Statistics Engine (securityLog_metric) -> Map (3/3) (6031d2cd7ff36acd222e6fc03d0e0485) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - OutputEnricher -> Sink: metricSink (2/3) (70b92a4e6e984ac37c724b84017e2948) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - OutputEnricher -> Sink: metricSink (3/3) (a0052dbd4cbeb8ead910454b6dacdb62) switched from RUNNING to CANCELING.
2020-04-15 10:47:00,920 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph        - filterlabel -> Map (1/3) (
发布了1252 篇原创文章 · 获赞 465 · 访问量 158万+

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/105572846
今日推荐