[ 
https://issues.apache.org/jira/browse/FLINK-24888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler closed FLINK-24888.
------------------------------------
    Fix Version/s:     (was: 1.15.0)
       Resolution: Won't Fix

The JobGraph deserialization isn't actually touching user-code; those remain in 
serialized form.

> Run jobgraph deserialization in separate thread
> -----------------------------------------------
>
>                 Key: FLINK-24888
>                 URL: https://issues.apache.org/jira/browse/FLINK-24888
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / REST
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to