[jira] [Created] (FLINK-6714) Operator state backend should set user classloader as context classloader when snapshotting

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6714) Operator state backend should set user classloader as context classloader when snapshotting

Shang Yuanchun (Jira)
Tzu-Li (Gordon) Tai created FLINK-6714:
------------------------------------------

             Summary: Operator state backend should set user classloader as context classloader when snapshotting
                 Key: FLINK-6714
                 URL: https://issues.apache.org/jira/browse/FLINK-6714
             Project: Flink
          Issue Type: Bug
          Components: State Backends, Checkpointing
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai
            Priority: Blocker


Now that the operator state backend creates a deep copy of the state during the synchronous part of checkpoints, it needs to set the user classloader as the thread context classloader, otherwise serializers that uses serialization for copying will use the wrong classloader when deserializing the copy.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)