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

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

     [ https://issues.apache.org/jira/browse/FLINK-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-9223.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Fixed in
  - 1.5.0 via 1b3059ec30233dc245ac2eb97deeea6e6294def3
  - 1.6.0 via 2de321e7c5ac1390f7fcd29317e7e9a1a1faac4e

> 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
>             Fix For: 1.5.0
>
>
> {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)