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

Run jobgraph deserialization in separate thread

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Runtime / REST
    • None

    Description

      The JobSubmitHandler deserializers submitted job graphs. During the deserialization pretty much anything can happen, including access to thread locals and such.
      Since the deserializing thread is long-lived it may thus keep a reference to the user-code around for a long time.

      We should guard against this by spawning a separate thread to deserialize the jobgraph; this would prevent it since the thread can terminate after serialization.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: