[ https://issues.apache.org/jira/browse/HDFS-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei (Eddy) Xu updated HDFS-6729: -------------------------------- Attachment: HDFS-6729.005.patch Updated the patch to fix the failed test. Hey, [~andrew.wang], thanks for your quick review :). Yes. this {{maintenance mode}} is a soft state. NN restarts / failovers are relatively rare events. Even in NN restarts / failover scenarios, NN can treat this DN as stale / dead, which does not sacrifice the durability / availability of DN. > 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.5.0 > Reporter: Lei (Eddy) Xu > Assignee: Lei (Eddy) Xu > Attachments: HDFS-6729.000.patch, HDFS-6729.001.patch, > HDFS-6729.002.patch, HDFS-6729.003.patch, HDFS-6729.004.patch, > HDFS-6729.005.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.3.4#6332)