Skip to content

Commit 20b78c8

Browse files
authored
HDFS-16335. Fix HDFSCommands.md (#3681)
1 parent 8e9ad2d commit 20b78c8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ Usage:
306306

307307
Runs a cluster balancing utility. An administrator can simply press Ctrl-C to stop the rebalancing process. See [Balancer](./HdfsUserGuide.html#Balancer) for more details.
308308

309-
Note that the `blockpool` policy is more strict than the `datanode` policy.
309+
Note that the `blockpool` policy is stricter than the `datanode` policy.
310310

311311
Besides the above command options, a pinning feature is introduced starting from 2.7.0 to prevent certain replicas from getting moved by balancer/mover. This pinning feature is disabled by default, and can be enabled by configuration property "dfs.datanode.block-pinning.enabled". When enabled, this feature only affects blocks that are written to favored nodes specified in the create() call. This feature is useful when we want to maintain the data locality, for applications such as HBase regionserver.
312312

313-
If you want to run Balancer as a long running service, please start Balancer using `-asService` parameter with daemon-mode. You can do this by using the following command: `hdfs --daemon start balancer -asService`, or just use sbin/start-balancer.sh script with parameter `-asService`.
313+
If you want to run Balancer as a long-running service, please start Balancer using `-asService` parameter with daemon-mode. You can do this by using the following command: `hdfs --daemon start balancer -asService`, or just use sbin/start-balancer.sh script with parameter `-asService`.
314314

315315
### `cacheadmin`
316316

@@ -463,7 +463,7 @@ Usage:
463463
| COMMAND\_OPTION | Description |
464464
|:---- |:---- |
465465
| `-add` *source* *nameservices* *destination* | Add a mount table entry or update if it exists. |
466-
| `-update` *source* *nameservices* *destination* | Update a mount table entry attribures. |
466+
| `-update` *source* *nameservices* *destination* | Update a mount table entry attributes. |
467467
| `-rm` *source* | Remove mount point of specified path. |
468468
| `-ls` `[-d]` *path* | List mount points under specified path. Specify -d parameter to get detailed listing.|
469469
| `-getDestination` *path* | Get the subcluster where a file is or should be created. |
@@ -496,7 +496,7 @@ Usage:
496496

497497
| COMMAND\_OPTION | Description |
498498
|:---- |:---- |
499-
|-plan| Creates a disbalancer plan|
499+
|-plan| Creates a diskbalancer plan|
500500
|-execute| Executes a given plan on a datanode|
501501
|-query| Gets the current diskbalancer status from a datanode|
502502
|-cancel| Cancels a running plan|
@@ -567,7 +567,7 @@ See [HDFS HA with NFS](./HDFSHighAvailabilityWithNFS.html#Administrative_command
567567

568568
Usage: `hdfs journalnode`
569569

570-
This comamnd starts a journalnode for use with [HDFS HA with QJM](./HDFSHighAvailabilityWithQJM.html#Administrative_commands).
570+
This command starts a journalnode for use with [HDFS HA with QJM](./HDFSHighAvailabilityWithQJM.html#Administrative_commands).
571571

572572
### `mover`
573573

@@ -622,13 +622,13 @@ Runs the namenode. More info about the upgrade and rollback is at [Upgrade Rollb
622622

623623
Usage: `hdfs nfs3`
624624

625-
This comamnd starts the NFS3 gateway for use with the [HDFS NFS3 Service](./HdfsNfsGateway.html#Start_and_stop_NFS_gateway_service).
625+
This command starts the NFS3 gateway for use with the [HDFS NFS3 Service](./HdfsNfsGateway.html#Start_and_stop_NFS_gateway_service).
626626

627627
### `portmap`
628628

629629
Usage: `hdfs portmap`
630630

631-
This comamnd starts the RPC portmap for use with the [HDFS NFS3 Service](./HdfsNfsGateway.html#Start_and_stop_NFS_gateway_service).
631+
This command starts the RPC portmap for use with the [HDFS NFS3 Service](./HdfsNfsGateway.html#Start_and_stop_NFS_gateway_service).
632632

633633
### `secondarynamenode`
634634

@@ -666,7 +666,7 @@ Usage: `hdfs zkfc [-formatZK [-force] [-nonInteractive]]`
666666
| `-formatZK` | Format the Zookeeper instance. -force: formats the znode if the znode exists. -nonInteractive: formats the znode aborts if the znode exists, unless -force option is specified. |
667667
| `-h` | Display help |
668668

669-
This comamnd starts a Zookeeper Failover Controller process for use with [HDFS HA with QJM](./HDFSHighAvailabilityWithQJM.html#Administrative_commands).
669+
This command starts a Zookeeper Failover Controller process for use with [HDFS HA with QJM](./HDFSHighAvailabilityWithQJM.html#Administrative_commands).
670670

671671
Debug Commands
672672
--------------

0 commit comments

Comments
 (0)