hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8051) FsVolumeList#addVolume should release volume reference if not put it into BlockScanner.
Date Sat, 04 Apr 2015 18:32:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395871#comment-14395871
] 

Hudson commented on HDFS-8051:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2103 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2103/])
HDFS-8051. FsVolumeList#addVolume should release volume reference if not put it into BlockScanner.
(Lei (Eddy) Xu via Colin P. McCabe) (cmccabe: rev ef591b1d6a08f08358b19763a874de6010227307)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsVolumeList.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsVolumeList.java


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

Mime
View raw message