[ 
https://issues.apache.org/jira/browse/FLINK-28697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571907#comment-17571907
 ] 

Josh Mahonin commented on FLINK-28697:
--------------------------------------

Hi [~yunta] 

Unfortunately the issue is a few months old, and as such the logs have expired 
from our aggregator.

We were using the same Flink version, but there was a mismatch in JVM versions 
between the compiled JAR, and what was being used at runtime. As well, I 
believe the JVM versions were different between client and server. I'm not 
certain exactly scenario caused the issue, but specifically setting the 
{{serialVersionUID}} resolved it. Note that it's the only class in that package 
without one defined.

> MapDataSerializer doesn't declare a serialVersionUID
> ----------------------------------------------------
>
>                 Key: FLINK-28697
>                 URL: https://issues.apache.org/jira/browse/FLINK-28697
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Type Serialization System
>    Affects Versions: 1.15.1
>            Reporter: Josh Mahonin
>            Priority: Major
>              Labels: pull-request-available
>
> MapDataSerializer doesn't declare a serialVersionUID, which can manifest as a 
> InvalidClassException when attempting to serialize with different JREs for 
> compilation / runtime.
> {code:java}
> Caused by: java.io.InvalidClassException: 
> org.apache.flink.table.runtime.typeutils.MapDataSerializer; local class 
> incompatible: stream classdesc serialVersionUID = 2533002123505507000, local 
> class serialVersionUID = 1622156938509929811 {code}
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to