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

Lei (Eddy) Xu updated HDFS-6729:
--------------------------------

    Attachment: hadoop-6729.000.patch

This patch adds support to mark a DataNode as maintenance mode, in which  the 
DataNode can be turned off by the system administrator to upgrade it. An 
expiration time is set for maintenance mode, thus if NameNode does not hear the 
heartbeat after this DataNode expires, NN considers this DataNode dead, then 
the normal data recover process jumps in to replica blocks.

The CLI and configuration file supports for this function will be in another 
JIRA.

> Support maintenance mode for DN
> -------------------------------
>
>                 Key: HDFS-6729
>                 URL: https://issues.apache.org/jira/browse/HDFS-6729
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.4.0
>            Reporter: Lei (Eddy) Xu
>         Attachments: hadoop-6729.000.patch
>
>
> Some maintenance works (e.g., upgrading RAM or add disks) on DataNode only 
> takes a short amount of time (e.g., 10 minutes). In these cases, the users do 
> not want to report missing blocks on this DN because the DN will be online 
> shortly without data lose. Thus, we need a maintenance mode for a DN so that 
> maintenance work can be carried out on the DN without having to decommission 
> it or the DN being marked as dead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to