jrthe42 opened a new pull request, #29952: URL: https://github.com/apache/beam/pull/29952
This pr aims to fix a classloader leak caused by ThreadLocal in PipelineOptionFactory. The threadlocal for DESERIALIZATION_CONTEXT cannot be removed and will eventually cause meatspace oom in Flink Jobmanager, which has been reported by several users https://github.com/apache/beam/issues/29890, https://github.com/apache/beam/issues/25510. We can remove the ThreadLocal and use `DefaultDeserializationContext.copy` instead. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
