[
https://issues.apache.org/jira/browse/HDFS-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-8051:
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
Status: Resolved (was: Patch Available)
> FsVolumeList#addVolume should release volume reference if not put it into
> BlockScanner.
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-8051
> URL: https://issues.apache.org/jira/browse/HDFS-8051
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 2.6.0
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Fix For: 2.7.0
>
> Attachments: HDFS-8051.000.patch
>
>
> {{FsVolumeList#addVolume()}} passes {{FsVolumeReference}} to blockScanner:
> {code}
> if (blockScanner != null) {
> blockScanner.addVolumeScanner(ref);
> }
> {code}
> However, if {{blockScanner == null}}, the {{FsVolumeReference}} will not be
> released.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)