瀏覽代碼

HDFS-12475. Ozone: add documentation about Datanode http address. Contributed by Lokesh Jain.

Anu Engineer 7 年之前
父節點
當前提交
ebc4d4ebc3
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneCommandShell.md

+ 4 - 0
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
 <name> -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