HDFS-12858. Add router admin commands usage in HDFS commands reference doc. Contributed by Yiqun Lin.
(cherry picked from commit 94bed50471
)
This commit is contained in:
parent
c0ab3c8407
commit
72d0be964d
|
@ -412,6 +412,29 @@ Usage:
|
||||||
|
|
||||||
Runs a HDFS dfsadmin client.
|
Runs a HDFS dfsadmin client.
|
||||||
|
|
||||||
|
### `dfsrouter`
|
||||||
|
|
||||||
|
Usage: `hdfs dfsrouter`
|
||||||
|
|
||||||
|
Runs the DFS router. See [Router](./HDFSRouterFederation.html#Router) for more info.
|
||||||
|
|
||||||
|
### `dfsrouteradmin`
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
hdfs dfsrouteradmin
|
||||||
|
[-add <source> <nameservice> <destination>]
|
||||||
|
[-rm <source>]
|
||||||
|
[-ls <path>]
|
||||||
|
|
||||||
|
| COMMAND\_OPTION | Description |
|
||||||
|
|:---- |:---- |
|
||||||
|
| `-add` *source* *nameservice* *destination* | Add a mount table entry or update if it exists. |
|
||||||
|
| `-rm` *source* | Remove mount point of specified path. |
|
||||||
|
| `-ls` *path* | List mount points under specified path. |
|
||||||
|
|
||||||
|
The commands for managing Router-based federation. See [Mount table management](./HDFSRouterFederation.html#Mount_table_management) for more info.
|
||||||
|
|
||||||
### `diskbalancer`
|
### `diskbalancer`
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
Loading…
Reference in New Issue