소스 검색

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