Repository: hadoop Updated Branches: refs/heads/branch-2.9 3516ef45f -> 83c40758f
HDFS-12858. RBF: Add router admin commands usage in HDFS commands reference doc. Contributed by Yiqun Lin. (cherry picked from commit 3d73d2f097aee130c93270d399cad3ff793b57f2) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/83c40758 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/83c40758 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/83c40758 Branch: refs/heads/branch-2.9 Commit: 83c40758fad5c21e64a4acea073dce76d59c8fce Parents: 3516ef4 Author: Yiqun Lin <[email protected]> Authored: Tue Nov 28 13:42:41 2017 +0800 Committer: Yiqun Lin <[email protected]> Committed: Tue Nov 28 13:46:02 2017 +0800 ---------------------------------------------------------------------- .../src/site/markdown/HDFSCommands.md | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/83c40758/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 9e18c2b..54ff2f4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -398,6 +398,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. + ### `haadmin` Usage: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
