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

Alexey Kudinkin commented on HUDI-5558:
---------------------------------------

This is not correct: we should not be overriding `serialVersionUID` – 
mismatching `serialVersionUID`s means that class has changed and it might not 
be safe to assume that you can safely deserialize serialized representation of 
the older version of the class.

What's exact issue you're trying to solve here?

> Serializable interface implementation don't explicitly declare 
> serialVersionUID
> -------------------------------------------------------------------------------
>
>                 Key: HUDI-5558
>                 URL: https://issues.apache.org/jira/browse/HUDI-5558
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: flink
>            Reporter: Nicholas Jiang
>            Assignee: Nicholas Jiang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>
> Serializable interface implementation don't explicitly declare 
> serialVersionUID, which causes the InvalidClassException for the 
> deserialization. Serializable interface implementation should explicitly 
> declare serialVersionUID for all the implementation including their subclass 
> implementation.



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

Reply via email to