You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martin Grotzke (JIRA)" <ji...@apache.org> on 2016/12/29 13:49:58 UTC

[jira] [Commented] (FLINK-3154) Update Kryo version from 2.24.0 to 3.0.3

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

Martin Grotzke commented on FLINK-3154:
---------------------------------------

As stated in Kryo's changelog, in 3.x the serialization format for *Unsafe-based* IO (e.g. {{UnsafeInput}}) changed, not for regular {{Input}}/{{Output}} - https://github.com/EsotericSoftware/kryo/blob/master/CHANGES.md#compatibility-3

In Kryo 4.x, the serialization format of the FieldSerializer for generic fields changed, but the former serialization behaviour/format can be restored via {{kryo.getFieldSerializerConfig().setOptimizedGenerics(true);}} - https://github.com/EsotericSoftware/kryo/releases/tag/kryo-parent-4.0.0.

Perhaps this helps.

> Update Kryo version from 2.24.0 to 3.0.3
> ----------------------------------------
>
>                 Key: FLINK-3154
>                 URL: https://issues.apache.org/jira/browse/FLINK-3154
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.0.0
>            Reporter: Maximilian Michels
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Flink's Kryo version is outdated and could be updated to a newer version, e.g. kryo-3.0.3.
> From ML: we cannot bumping the Kryo version easily - the serialization format changed (that's why they have a new major version), which would render all Flink savepoints and checkpoints incompatible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)