diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 258c509d29..5ecb6ec538 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -284,6 +284,9 @@ Release 2.7.0 - UNRELEASED HDFS-7221. TestDNFencingWithReplication fails consistently. (Charles Lamb via wang) + HDFS-7254. Add documentation for hot swaping DataNode drives (Lei Xu via + Colin P. McCabe) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm index 32dc6d14cf..092f4c7029 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm @@ -194,6 +194,7 @@ HDFS Commands Guide [-refreshSuperUserGroupsConfiguration] [-refreshCallQueue] [-refresh [arg1..argn]] + [-reconfig ] [-printTopology] [-refreshNamenodes datanodehost:port] [-deleteBlockPool datanode-host:port blockpoolId [force]] @@ -287,6 +288,12 @@ HDFS Commands Guide | of the resource specified by \ on \. | All other args after are sent to the host. *-----------------+-----------------------------------------------------------+ +| -reconfig | Start + | reconfiguration or get the status of an ongoing + | reconfiguration. The second parameter specifies the node + | type. Currently, only reloading DataNode's configuration is + | supported. +*-----------------+-----------------------------------------------------------+ | -printTopology | Print a tree of the racks and their nodes as reported by | the Namenode *-----------------+-----------------------------------------------------------+ diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsUserGuide.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsUserGuide.apt.vm index 55208c93ee..25a466e5c7 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsUserGuide.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsUserGuide.apt.vm @@ -486,6 +486,26 @@ HDFS Users Guide This is because data inconsistency can result if an edit log operation refers to the destination of an automatically renamed file. +* DataNode Hot Swap Drive + + Datanode supports hot swappable drives. The user can add or replace HDFS data + volumes without shutting down the DataNode. The following briefly describes + the typical hot swapping drive procedure: + + * If there are new storage directories, the user should format them and mount them + appropriately. + + * The user updates the DataNode configuration <<>> + to reflect the data volume directories that will be actively in use. + + * The user runs <<>> to start + the reconfiguration process. The user can use <<>> to query the running status of the reconfiguration + task. + + * Once the reconfiguration task has completed, the user can safely <<>> + the removed data volume directories and physically remove the disks. + * File Permissions and Security The file permissions are designed to be similar to file permissions on