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

Hudson commented on HDFS-7719:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #92 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/92/])
HDFS-7719. BlockPoolSliceStorage#removeVolumes fails to remove some in-memory 
state associated with volumes. (Lei (Eddy) Xu via Colin P. McCabe) (cmccabe: 
rev 40a415799b1ff3602fbb461765f8b36f1133bda2)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolSliceStorage.java


> BlockPoolSliceStorage#removeVolumes fails to remove some in-memory state 
> associated with volumes
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-7719
>                 URL: https://issues.apache.org/jira/browse/HDFS-7719
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7719.000.patch, HDFS-7719.001.patch, 
> HDFS-7719.002.patch, HDFS-7719.003.patch
>
>
> The parameter of {{BlockPoolSliceStorage#removeVolumes()}} is a set of volume 
> level directories, thus {{BlockPoolSliceStorage}} could not directly compare 
> its own {{StorageDirs}} with this volume-level directory. The result of that 
> is {{BlockPoolSliceStorage}} did not actually remove the targeted 
> {{StorageDirectory}}. 
> It will cause failure when remove a volume and then immediately add a volume 
> back with the same mount point..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to