You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a beam job (using Flink runner) submitted, the Flink ChildFirstClassLoader is not released after job completion. Observing from its GCRoot, this classloader is not released due to a thread local static variable DESERIALIZATION_CONTEXT being hold by a parking Flink thread. For example:
Here is a small example to reproduce this issue. word-count-beam.tar.gz Notice: please copy the source file kinglear.txt to /tmp before running this example
I tested this example against below 2 envs locally:
Flink 1.13 + beam-flink-runner-1.13, both JM and TM can observe the same leak.
Flink 1.16 + beam-flink-runner-1.16, only JM can observe this leak.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
Component: Python SDK
Component: Java SDK
Component: Go SDK
Component: Typescript SDK
Component: IO connector
Component: Beam YAML
Component: Beam examples
Component: Beam playground
Component: Beam katas
Component: Website
Component: Spark Runner
Component: Flink Runner
Component: Samza Runner
Component: Twister2 Runner
Component: Hazelcast Jet Runner
Component: Google Cloud Dataflow Runner
The text was updated successfully, but these errors were encountered:
What happened?
After a beam job (using Flink runner) submitted, the Flink ChildFirstClassLoader is not released after job completion. Observing from its GCRoot, this classloader is not released due to a thread local static variable DESERIALIZATION_CONTEXT being hold by a parking Flink thread. For example:
Here is a small example to reproduce this issue.
word-count-beam.tar.gz
Notice: please copy the source file kinglear.txt to /tmp before running this example
I tested this example against below 2 envs locally:
Flink 1.13 + beam-flink-runner-1.13, both JM and TM can observe the same leak.
Flink 1.16 + beam-flink-runner-1.16, only JM can observe this leak.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: