[
https://issues.apache.org/jira/browse/HDFS-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-6238:
--------------------------------
Attachment: HDFS-6238.1.patch
This patch guarantees that the files get closed. I verified on Mac and Windows.
> TestDirectoryScanner leaks file descriptors.
> --------------------------------------------
>
> Key: HDFS-6238
> URL: https://issues.apache.org/jira/browse/HDFS-6238
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode, test
> Affects Versions: 3.0.0, 2.4.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Minor
> Attachments: HDFS-6238.1.patch
>
>
> The {{TestDirectoryScanner#truncateBlockFile}} method opens a block file and
> writes to it, but never closes it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)