You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -295,11 +295,11 @@ Usage:
295
295
296
296
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.
297
297
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.
299
299
300
300
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.
301
301
302
-
If you want to run Balancer as a longrunning 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`.
303
303
304
304
### `cacheadmin`
305
305
@@ -452,7 +452,7 @@ Usage:
452
452
| COMMAND\_OPTION | Description |
453
453
|:---- |:---- |
454
454
|`-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. |
456
456
|`-rm`*source*| Remove mount point of specified path. |
457
457
|`-ls``[-d]`*path*| List mount points under specified path. Specify -d parameter to get detailed listing.|
458
458
|`-getDestination`*path*| Get the subcluster where a file is or should be created. |
@@ -485,7 +485,7 @@ Usage:
485
485
486
486
| COMMAND\_OPTION | Description |
487
487
|:---- |:---- |
488
-
|-plan| Creates a disbalancer plan|
488
+
|-plan| Creates a diskbalancer plan|
489
489
|-execute| Executes a given plan on a datanode|
490
490
|-query| Gets the current diskbalancer status from a datanode|
491
491
|-cancel| Cancels a running plan|
@@ -556,7 +556,7 @@ See [HDFS HA with NFS](./HDFSHighAvailabilityWithNFS.html#Administrative_command
556
556
557
557
Usage: `hdfs journalnode`
558
558
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).
560
560
561
561
### `mover`
562
562
@@ -611,13 +611,13 @@ Runs the namenode. More info about the upgrade and rollback is at [Upgrade Rollb
611
611
612
612
Usage: `hdfs nfs3`
613
613
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).
615
615
616
616
### `portmap`
617
617
618
618
Usage: `hdfs portmap`
619
619
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).
|`-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. |
656
656
|`-h`| Display help |
657
657
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).
0 commit comments