You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/01/20 16:27:39 UTC

[jira] [Created] (FLINK-3267) Disable reference tracking in Kryo fallback serializer

Stephan Ewen created FLINK-3267:
-----------------------------------

             Summary: Disable reference tracking in Kryo fallback serializer
                 Key: FLINK-3267
                 URL: https://issues.apache.org/jira/browse/FLINK-3267
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime
    Affects Versions: 0.10.1
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.0.0


Kryo runs extra logic to track and resolve repeated references to the same object (similar as JavaSerialization)

We should disable reference tracking
  - reference tracking is costly
  - it is virtually always unnecessary in the datatypes used in Flink
  - most importantly, it is inconsistent with Flink's own serialization (which does not do reference tracking)
  - It may have problems if elements are read in a different order than they are written.



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