[ https://issues.apache.org/jira/browse/HDFS-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei (Eddy) Xu updated HDFS-8051: -------------------------------- Target Version/s: 3.0.0, 2.7.0 (was: 3.0.0) Status: Patch Available (was: Open) > 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 > 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)