HDFS-13892. Disk Balancer: Make execute command documentation better.

Contributed by  Ranith Sardar.
This commit is contained in:
Anu Engineer 2018-09-19 20:48:41 -07:00
parent 6b5838ed32
commit 6fc293fece

View File

@ -78,6 +78,8 @@ Execute command takes a plan command executes it against the datanode that plan
`hdfs diskbalancer -execute /system/diskbalancer/nodename.plan.json` `hdfs diskbalancer -execute /system/diskbalancer/nodename.plan.json`
This executes the plan by reading datanodes address from the plan file. This executes the plan by reading datanodes address from the plan file.
When DiskBalancer executes the plan, it is the beginning of an asynchronous process that can take a long time.
So, query command can help to get the current status of execute command.
| COMMAND\_OPTION | Description | | COMMAND\_OPTION | Description |
|:---- |:---- | |:---- |:---- |