You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/20 06:21:00 UTC

[jira] [Commented] (FLINK-9223) bufferConsumers should be closed in SpillableSubpartitionTest#testConsumeSpilledPartitionSpilledBeforeAdd

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

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

Github user yanghua commented on the issue:

    https://github.com/apache/flink/pull/5882
  
    cc @tillrohrmann 


> bufferConsumers should be closed in SpillableSubpartitionTest#testConsumeSpilledPartitionSpilledBeforeAdd
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-9223
>                 URL: https://issues.apache.org/jira/browse/FLINK-9223
>             Project: Flink
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: vinoyang
>            Priority: Minor
>
> {code}
>     BufferConsumer[] bufferConsumers = Arrays.stream(bufferBuilders).map(
>       BufferBuilder::createBufferConsumer
>     ).toArray(BufferConsumer[]::new);
> {code}
> After operation on bufferConsumers is done, the BufferConsumer's in the array should be closed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)