Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
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
- is related to
-
FLINK-25022 ClassLoader leak with ThreadLocals on the JM when submitting a job through the REST API
- Closed