You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Liwei Lin (JIRA)" <ji...@apache.org> on 2016/09/20 08:34:20 UTC

[jira] [Commented] (FLINK-3734) Unclosed DataInputView in AbstractAlignedProcessingTimeWindowOperator#restoreState()

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

Liwei Lin commented on FLINK-3734:
----------------------------------

Hi [~tedyu] do you plan to fix this? In case you don't, I might take this. Thanks!

> Unclosed DataInputView in AbstractAlignedProcessingTimeWindowOperator#restoreState()
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-3734
>                 URL: https://issues.apache.org/jira/browse/FLINK-3734
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>     DataInputView in = inputState.getState(getUserCodeClassloader());
>     final long nextEvaluationTime = in.readLong();
>     final long nextSlideTime = in.readLong();
>     AbstractKeyedTimePanes<IN, KEY, STATE, OUT> panes = createPanes(keySelector, function);
>     panes.readFromInput(in, keySerializer, stateTypeSerializer);
>     restoredState = new RestoredState<>(panes, nextEvaluationTime, nextSlideTime);
>   }
> {code}
> DataInputView in is not closed upon return.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)