[
https://issues.apache.org/jira/browse/HDFS-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai updated HDFS-7315:
-----------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've committed the patch to trunk and branch-2. Thanks [~zero45] for the
contribution.
> DFSTestUtil.readFileBuffer opens extra FSDataInputStream
> --------------------------------------------------------
>
> Key: HDFS-7315
> URL: https://issues.apache.org/jira/browse/HDFS-7315
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Plamen Jeliazkov
> Assignee: Plamen Jeliazkov
> Priority: Trivial
> Fix For: 2.7.0
>
> Attachments: HDFS-7315.patch
>
>
> DFSTestUtil.readFileBuffer() calls FileSystem.open() twice.
> Once just under the try statement, and once inside the IOUtils.copyBytes()
> call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)