Repository: hadoop Updated Branches: refs/heads/branch-3.0 c0ab3c840 -> 72d0be964
HDFS-12858. Add router admin commands usage in HDFS commands reference doc. Contributed by Yiqun Lin. (cherry picked from commit 94bed5047113fb148194380853ff01e92897a91f) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/72d0be96 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/72d0be96 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/72d0be96 Branch: refs/heads/branch-3.0 Commit: 72d0be964d6687d71168570cb75334dfc21273d2 Parents: c0ab3c8 Author: Yiqun Lin <[email protected]> Authored: Tue Nov 28 11:48:55 2017 +0800 Committer: Yiqun Lin <[email protected]> Committed: Tue Nov 28 11:52:29 2017 +0800 ---------------------------------------------------------------------- .../src/site/markdown/HDFSCommands.md | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/72d0be96/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md index 25f2b92..05cca9a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -412,6 +412,29 @@ Usage: 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` Usage: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
