From 984875c624b1d47c0cd1229b8008024841489b81 Mon Sep 17 00:00:00 2001 From: Fei Hui Date: Tue, 29 Sep 2020 00:54:01 +0800 Subject: [PATCH] HDFS-15604. Fix Typo for HdfsDataNodeAdminGuide doc (#2345) --- .../hadoop-hdfs/src/site/markdown/HdfsDataNodeAdminGuide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsDataNodeAdminGuide.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsDataNodeAdminGuide.md index c6c70d9e41f..f521b2f626b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsDataNodeAdminGuide.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsDataNodeAdminGuide.md @@ -52,7 +52,7 @@ And datanode admin states include the followings: * `NORMAL` The node is in service. * `DECOMMISSIONED` The node has been decommissioned. * `DECOMMISSION_INPROGRESS` The node is being transitioned to DECOMMISSIONED state. -* `IN_MAINTENANCE` The node in in maintenance state. +* `IN_MAINTENANCE` The node is in maintenance state. * `ENTERING_MAINTENANCE` The node is being transitioned to maintenance state. @@ -109,7 +109,7 @@ Here is the list of currently supported properties by HDFS. |`port`| Optional. the port number of the datanode | |`maintenanceExpireTimeInMS`| Optional. The epoch time in milliseconds until which the datanode will remain in maintenance state. The default value is forever. | -In the following example, `host1` and `host2` need to in service. `host3` need to be in decommissioned state. `host4` need to be in in maintenance state. +In the following example, `host1` and `host2` need to be in service. `host3` needs to be in decommissioned state. `host4` needs to be in maintenance state. dfs.hosts file ```json