From ebc4d4ebc388221f55ba8203eb84e74812d7dc7d Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Wed, 11 Oct 2017 14:31:57 -0700 Subject: [PATCH] HDFS-12475. Ozone: add documentation about Datanode http address. Contributed by Lokesh Jain. --- .../hadoop-hdfs/src/site/markdown/OzoneCommandShell.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneCommandShell.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneCommandShell.md index 80bc46bea0..015018a6ac 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneCommandShell.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneCommandShell.md @@ -24,6 +24,10 @@ The Ozone commands take the following format. * `hdfs oz --command_ http://hostname:port/volume/bucket/key -user -root` +The *port* specified in command should match the port mentioned in the config +property `dfs.datanode.http.address`. This property can be set in `hdfs-site.xml`. +The default value for the port is `9864` and is used in below commands. + The *--root* option is a command line short cut that allows *hdfs oz* commands to be run as the user that started the cluster. This is useful to indicate that you want the commands to be run as some admin user. The only