hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8051) FsVolumeList#addVolume should release volume reference if not put it into BlockScanner.
Date Thu, 02 Apr 2015 19:24:53 GMT
Lei (Eddy) Xu created HDFS-8051:
-----------------------------------

             Summary: 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


{{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)

Mime
View raw message