HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/65f9b2fd Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/65f9b2fd Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/65f9b2fd Branch: refs/heads/YARN-2928 Commit: 65f9b2fdacc6207cabc30dc4246c1c7a328a72d8 Parents: d88e580 Author: Vinayakumar B <[email protected]> Authored: Mon Jun 29 16:50:48 2015 +0530 Committer: Zhijie Shen <[email protected]> Committed: Mon Jun 29 10:28:29 2015 -0700 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/65f9b2fd/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 3800184..e55f340 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -971,6 +971,9 @@ Release 2.8.0 - UNRELEASED HDFS-8586. Dead Datanode is allocated for write when client is from deadnode (Brahma Reddy Battula via vinayakumarb) + HDFS-8628. Update missing command option for fetchdt + (J.Andreina via vinayakumarb) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/65f9b2fd/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 6841201..094dda1 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -89,12 +89,16 @@ Run a filesystem command on the file system supported in Hadoop. The various COM ### `fetchdt` -Usage: `hdfs fetchdt [--webservice <namenode_http_addr>] <path> ` +Usage: `hdfs fetchdt <opts> <token_file_path> ` | COMMAND\_OPTION | Description | |:---- |:---- | -| `--webservice` *https\_address* | use http protocol instead of RPC | -| *fileName* | File name to store the token into. | +| `--webservice` *NN_Url* | Url to contact NN on (starts with http or https)| +| `--renewer` *name* | Name of the delegation token renewer | +| `--cancel` | Cancel the delegation token | +| `--renew` | Renew the delegation token. Delegation token must have been fetched using the --renewer *name* option.| +| `--print` | Print the delegation token | +| *token_file_path* | File path to store the token into. | Gets Delegation Token from a NameNode. See [fetchdt](./HdfsUserGuide.html#fetchdt) for more info.
