HDFS-12858. Add router admin commands usage in HDFS commands reference doc. Contributed by Yiqun Lin.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/94bed504 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/94bed504 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/94bed504 Branch: refs/heads/YARN-5881 Commit: 94bed5047113fb148194380853ff01e92897a91f Parents: d8923cd Author: Yiqun Lin <yq...@apache.org> Authored: Tue Nov 28 11:48:55 2017 +0800 Committer: Yiqun Lin <yq...@apache.org> Committed: Tue Nov 28 11:48:55 2017 +0800 ---------------------------------------------------------------------- .../src/site/markdown/HDFSCommands.md | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/94bed504/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 c5f80d0..d8462c1 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -414,6 +414,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: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org