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
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,19 +298,19 @@ Usage:
298
298
|`-include -f`\<hosts-file\>\|\<comma-separated list of hosts\>| Includes only the specified datanodes to be balanced by the balancer. |
299
299
|`-source -f`\<hosts-file\>\|\<comma-separated list of hosts\>| Pick only the specified datanodes as source nodes. |
300
300
|`-blockpools`\<comma-separated list of blockpool ids\>| The balancer will only run on blockpools included in this list. |
301
-
|`-idleiterations`\<iterations\>| Maximum number of idle iterations before exit. This overwrites the default idleiterations(5). |
301
+
|`-idleiterations`\<iterations\>| Maximum number of idle iterations before exit. This overwrites the default idle iterations(5). |
302
302
|`-runDuringUpgrade`| Whether to run the balancer during an ongoing HDFS upgrade. This is usually not desired since it will not affect used space on over-utilized machines. |
303
303
|`-asService`| Run Balancer as a long running service. |
304
304
|`-hotBlockTimeInterval`| Prefer moving cold blocks i.e blocks associated with files accessed or modified before the specified time interval. |
305
305
|`-h`\|`--help`| Display the tool usage and help information and exit. |
306
306
307
307
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.
308
308
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.
310
310
311
311
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.
312
312
313
-
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`.
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`.
314
314
315
315
### `cacheadmin`
316
316
@@ -463,7 +463,7 @@ Usage:
463
463
| COMMAND\_OPTION | Description |
464
464
|:---- |:---- |
465
465
|`-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. |
467
467
|`-rm`*source*| Remove mount point of specified path. |
468
468
|`-ls``[-d]`*path*| List mount points under specified path. Specify -d parameter to get detailed listing.|
469
469
|`-getDestination`*path*| Get the subcluster where a file is or should be created. |
@@ -496,7 +496,7 @@ Usage:
496
496
497
497
| COMMAND\_OPTION | Description |
498
498
|:---- |:---- |
499
-
|-plan| Creates a disbalancer plan|
499
+
|-plan| Creates a diskbalancer plan|
500
500
|-execute| Executes a given plan on a datanode|
501
501
|-query| Gets the current diskbalancer status from a datanode|
502
502
|-cancel| Cancels a running plan|
@@ -567,7 +567,7 @@ See [HDFS HA with NFS](./HDFSHighAvailabilityWithNFS.html#Administrative_command
567
567
568
568
Usage: `hdfs journalnode`
569
569
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).
571
571
572
572
### `mover`
573
573
@@ -622,13 +622,13 @@ Runs the namenode. More info about the upgrade and rollback is at [Upgrade Rollb
622
622
623
623
Usage: `hdfs nfs3`
624
624
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).
626
626
627
627
### `portmap`
628
628
629
629
Usage: `hdfs portmap`
630
630
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).
|`-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. |
667
667
|`-h`| Display help |
668
668
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).
0 commit comments