HDFS-15604. Fix Typo for HdfsDataNodeAdminGuide doc (#2345)

This commit is contained in:
Fei Hui 2020-09-29 00:54:01 +08:00 committed by GitHub
parent eae0035a2d
commit 984875c624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ And datanode admin states include the followings:
* `NORMAL` The node is in service. * `NORMAL` The node is in service.
* `DECOMMISSIONED` The node has been decommissioned. * `DECOMMISSIONED` The node has been decommissioned.
* `DECOMMISSION_INPROGRESS` The node is being transitioned to DECOMMISSIONED state. * `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. * `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 | |`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. | |`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 dfs.hosts file
```json ```json