You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/05/22 12:34:00 UTC

[jira] [Commented] (FLINK-17862) The internal class StreamingRuntimeContext is leaked in AbstractUdfStreamOperator

    [ https://issues.apache.org/jira/browse/FLINK-17862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113990#comment-17113990 ] 

Aljoscha Krettek commented on FLINK-17862:
------------------------------------------

How is it leaked in the operator?

In general, the fact that the operators are visible/usable in the {{DataStream}} API was a mistake. We should fix that at some point but it's not easy task.

> The internal class StreamingRuntimeContext is leaked in AbstractUdfStreamOperator
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-17862
>                 URL: https://issues.apache.org/jira/browse/FLINK-17862
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>            Reporter: Yangze Guo
>            Priority: Major
>
> The {{StreamingRuntimeContext}} is annotated with {{Internal}}. However, user could get it in {{AbstractUdfStreamOperator}}. Then, many internal classes, e.g. {{TaskManagerRuntimeInfo}}, will be leaked from it.



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