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

Lei (Eddy) Xu commented on HDFS-6727:
-------------------------------------

Great question, [~jiangyu1211].

Our original design was relying on DataNode's own timeout to do the 
blockreport, mostly for the simplicity reason. You can use {{hdfs dfsadmin 
-triggerBlockReport}} to trigger block report if necessary. If there is a 
strong desire to always send blockreport after swapping a drive, I'd add it in 
a followup JIRA. 

bq. obvious you have data in it.

We were actually thinking about removing bad disks and adding larger empty 
disks as major cases. As mentioned above, if adding a loaded disk is a very 
common task, I'd love to file another JIRA to let DN send block report right 
after how swap job finishes. 

> 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
>             Fix For: 2.6.0
>
>         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.006.patch, 
> HDFS-6727.007.patch, HDFS-6727.008.patch, HDFS-6727.combo.patch, 
> patchFindBugsOutputhadoop-hdfs.txt
>
>
> 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