Skip to content

Commit fde20ff

Browse files
committed
HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina)
1 parent c815344 commit fde20ff

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,9 @@ Release 2.8.0 - UNRELEASED
971971
HDFS-8586. Dead Datanode is allocated for write when client is from deadnode
972972
(Brahma Reddy Battula via vinayakumarb)
973973

974+
HDFS-8628. Update missing command option for fetchdt
975+
(J.Andreina via vinayakumarb)
976+
974977
Release 2.7.2 - UNRELEASED
975978

976979
INCOMPATIBLE CHANGES

hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,16 @@ Run a filesystem command on the file system supported in Hadoop. The various COM
8989

9090
### `fetchdt`
9191

92-
Usage: `hdfs fetchdt [--webservice <namenode_http_addr>] <path> `
92+
Usage: `hdfs fetchdt <opts> <token_file_path> `
9393

9494
| COMMAND\_OPTION | Description |
9595
|:---- |:---- |
96-
| `--webservice` *https\_address* | use http protocol instead of RPC |
97-
| *fileName* | File name to store the token into. |
96+
| `--webservice` *NN_Url* | Url to contact NN on (starts with http or https)|
97+
| `--renewer` *name* | Name of the delegation token renewer |
98+
| `--cancel` | Cancel the delegation token |
99+
| `--renew` | Renew the delegation token. Delegation token must have been fetched using the --renewer *name* option.|
100+
| `--print` | Print the delegation token |
101+
| *token_file_path* | File path to store the token into. |
98102

99103
Gets Delegation Token from a NameNode. See [fetchdt](./HdfsUserGuide.html#fetchdt) for more info.
100104

0 commit comments

Comments
 (0)