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

ASF GitHub Bot commented on FLINK-3734:
---------------------------------------

Github user lw-lin commented on the issue:

    https://github.com/apache/flink/pull/2557
  
    Glad to see this issue got fixed along with 
https://github.com/apache/flink/pull/2512 -- the fix is [this line in 
StreamTask](https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L577).
    
    So @tedyu would you mind closing FLINK-3734? :-D


> 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)

Reply via email to