You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (Jira)" <ji...@apache.org> on 2020/09/21 13:15:00 UTC

[jira] [Assigned] (FLINK-19321) CollectSinkFunction does not define serialVersionUID

     [ https://issues.apache.org/jira/browse/FLINK-19321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Hueske reassigned FLINK-19321:
-------------------------------------

    Assignee: CloseRiver

> CollectSinkFunction does not define serialVersionUID
> ----------------------------------------------------
>
>                 Key: FLINK-19321
>                 URL: https://issues.apache.org/jira/browse/FLINK-19321
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Runtime
>    Affects Versions: 1.12.0, 1.11.2
>            Reporter: Fabian Hueske
>            Assignee: CloseRiver
>            Priority: Major
>
> The {{org.apache.flink.streaming.api.operators.collect.CollectSinkFunction}} function does not define a {{serialVersionUID}}.
> Function objects are serialized using Java Serialization and should define a {{serialVersionUID.}}
>  
> If no o serialVersionUID is defined, Java automatically generates IDs to check compatibility of objects during deserialization. However, the generation depends on the environment (JVM, class version, etc.) and can hence lead to {{[java.io|http://java.io/].InvalidClassException}} even if the classes are compatible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)