smengcl commented on a change in pull request #1306: HDDS-1971. Update document
for HDDS-1891: Ozone fs shell command should work with default port when port
number is not specified
URL: https://github.com/apache/hadoop/pull/1306#discussion_r314905504
##########
File path: hadoop-hdds/docs/content/interface/OzoneFS.md
##########
@@ -77,13 +77,39 @@ Or put command etc. In other words, all programs like
Hive, Spark, and Distcp wi
Please note that any keys created/deleted in the bucket using methods apart
from OzoneFileSystem will show up as directories and files in the Ozone File
System.
Note: Bucket and volume names are not allowed to have a period in them.
-Moreover, the filesystem URI can take a fully qualified form with the OM host
and port as a part of the path following the volume name.
-For example,
+Moreover, the filesystem URI can take a fully qualified form with the OM host
and an optional port as a part of the path following the volume name.
+For example, you can specify both host and port:
{{< highlight bash>}}
hdfs dfs -ls o3fs://bucket.volume.om-host.example.com:5678/key
{{< /highlight >}}
+When the port number is not specified, it will be retrieved from config key
`ozone.om.address`.
Review comment:
done. still keeping L109 but repharsed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]