beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BEAM-2608) Unclosed BoundedReader in TextIO#ReadTextFn#process()
Date Sun, 16 Jul 2017 00:40:00 GMT

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

Eugene Kirpichov closed BEAM-2608.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

> Unclosed BoundedReader in TextIO#ReadTextFn#process()
> -----------------------------------------------------
>
>                 Key: BEAM-2608
>                 URL: https://issues.apache.org/jira/browse/BEAM-2608
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Ted Yu
>            Assignee: Eugene Kirpichov
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> {code}
>         BoundedSource.BoundedReader<String> reader =
>             source
>                 .createForSubrangeOfFile(metadata, range.getFrom(), range.getTo())
>                 .createReader(c.getPipelineOptions());
> {code}
> The reader should be closed upon return.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message