flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3088) WritableSerializer cannot copy writable object
Date Fri, 27 Nov 2015 14:59:11 GMT

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

ASF GitHub Bot commented on FLINK-3088:

Github user rmetzger commented on the pull request:

    I'm wondering whether we could encapsulate the added functionality into a separate method
to avoid code duplication? 

> WritableSerializer cannot copy writable object
> ----------------------------------------------
>                 Key: FLINK-3088
>                 URL: https://issues.apache.org/jira/browse/FLINK-3088
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0, 0.10.1
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
> The {{WritableSerializer}}, {{ValueSerializer}}, {{AvroSerializer}}, {{WritableComparator}}
and {{ValueComparator}} use plain {{Kryo}} instances to copy the objects. In cases where {{Kryo}}
fails to copy the object, e.g. missing no-arg constructor, the serializer and comparator instances
fail even though the objects are serializable.
> As a fallback strategy I propose to copy the objects by serializing and deserializing

This message was sent by Atlassian JIRA

View raw message