[ 
https://issues.apache.org/jira/browse/HDFS-6727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei (Eddy) Xu updated HDFS-6727:
--------------------------------
    Attachment: HDFS-6727.006.patch

[~atm] Thank you so much for the review. I've changed the patch according to 
your comments.

bq. Is the change to FsDatasetImpl#invalidate to add the call to 
notifyNamenodeDeletedBlock a separate bug? Or how is it related to this change? 
I'm surprised that needed to be done.

It is used for test case 
{{TestDataNodeHotSwapVolumes#testReplicatingAfterRemoveVolume}} and this 
{{invalidate()}} is only called from {{DataNode#refreshVolumes()}}.

> Refresh data volumes on DataNode based on configuration changes
> ---------------------------------------------------------------
>
>                 Key: HDFS-6727
>                 URL: https://issues.apache.org/jira/browse/HDFS-6727
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 2.5.0, 2.4.1
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>              Labels: datanode
>         Attachments: HDFS-6727.000.delta-HDFS-6775.txt, HDFS-6727.001.patch, 
> HDFS-6727.002.patch, HDFS-6727.003.patch, HDFS-6727.004.patch, 
> HDFS-6727.005.patch, HDFS-6727.006.patch, HDFS-6727.combo.patch
>
>
> HDFS-1362 requires DataNode to reload configuration file during the runtime, 
> so that DN can change the data volumes dynamically. This JIRA reuses the 
> reconfiguration framework introduced by HADOOP-7001 to enable DN to 
> reconfigure at runtime.



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

Reply via email to