[
https://issues.apache.org/jira/browse/HDFS-4768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-4768:
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.5-beta
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I committed the patch to trunk and branch-2. Thank you Chris.
> File handle leak in datanode when a block pool is removed
> ---------------------------------------------------------
>
> Key: HDFS-4768
> URL: https://issues.apache.org/jira/browse/HDFS-4768
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 3.0.0, 2.0.4-alpha
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Fix For: 2.0.5-beta
>
> Attachments: HDFS-4768.1.patch
>
>
> HDFS-4274 fixed a file handle leak of the block scanner's verification logs
> by adding method {{BlockPoolSliceScanner#shutdown}} and guaranteeing that the
> method gets called for each live {{BlockPoolSliceScanner}} during datanode
> shutdown. However, that patch did not consider the case of deleting a block
> pool via {{ClientDatanodeProtocol#deleteBlockPool}} while the datanode
> remains running.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira