You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/03/03 18:05:00 UTC

[jira] [Created] (FLINK-16408) Bind user code class loader to lifetime of a slot

Till Rohrmann created FLINK-16408:
-------------------------------------

             Summary: Bind user code class loader to lifetime of a slot
                 Key: FLINK-16408
                 URL: https://issues.apache.org/jira/browse/FLINK-16408
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.10.0, 1.9.2
            Reporter: Till Rohrmann
             Fix For: 1.10.1, 1.11.0


In order to avoid class leaks due to creating multiple user code class loaders and loading class multiple times in a recovery case, I would suggest to bind the lifetime of a user code class loader to the lifetime of a slot. More precisely, the user code class loader should live at most as long as the slot which is using it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)