Skip to content

Commit 486a57f

Browse files
tomscutsunchao
authored andcommitted
HDFS-16335. Fix HDFSCommands.md (#3681)
(cherry picked from commit 20b78c8)
1 parent abc48be commit 486a57f

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
@@ -295,11 +295,11 @@ Usage:
295295

296296
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.
297297

298-
Note that the `blockpool` policy is more strict than the `datanode` policy.
298+
Note that the `blockpool` policy is stricter than the `datanode` policy.
299299

300300
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.
301301

302-
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`.
302+
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`.
303303

304304
### `cacheadmin`
305305

@@ -452,7 +452,7 @@ Usage:
452452
| COMMAND\_OPTION | Description |
453453
|:---- |:---- |
454454
| `-add` *source* *nameservices* *destination* | Add a mount table entry or update if it exists. |
455-
| `-update` *source* *nameservices* *destination* | Update a mount table entry attribures. |
455+
| `-update` *source* *nameservices* *destination* | Update a mount table entry attributes. |
456456
| `-rm` *source* | Remove mount point of specified path. |
457457
| `-ls` `[-d]` *path* | List mount points under specified path. Specify -d parameter to get detailed listing.|
458458
| `-getDestination` *path* | Get the subcluster where a file is or should be created. |
@@ -485,7 +485,7 @@ Usage:
485485

486486
| COMMAND\_OPTION | Description |
487487
|:---- |:---- |
488-
|-plan| Creates a disbalancer plan|
488+
|-plan| Creates a diskbalancer plan|
489489
|-execute| Executes a given plan on a datanode|
490490
|-query| Gets the current diskbalancer status from a datanode|
491491
|-cancel| Cancels a running plan|
@@ -556,7 +556,7 @@ See [HDFS HA with NFS](./HDFSHighAvailabilityWithNFS.html#Administrative_command
556556

557557
Usage: `hdfs journalnode`
558558

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

561561
### `mover`
562562

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

612612
Usage: `hdfs nfs3`
613613

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

616616
### `portmap`
617617

618618
Usage: `hdfs portmap`
619619

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

622622
### `secondarynamenode`
623623

@@ -655,7 +655,7 @@ Usage: `hdfs zkfc [-formatZK [-force] [-nonInteractive]]`
655655
| `-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. |
656656
| `-h` | Display help |
657657

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

660660
Debug Commands
661661
--------------

0 commit comments

Comments
 (0)