Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3267

Disable reference tracking in Kryo fallback serializer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.10.1
    • 1.0.0
    • Runtime / Task
    • None

    Description

      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.

      Attachments

        Activity

          People

            sewen Stephan Ewen
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: