Hanisha Koneru created HDDS-5704:
------------------------------------
Summary: Improve the description of Ozone URI in Ozone Shell help
message
Key: HDDS-5704
URL: https://issues.apache.org/jira/browse/HDDS-5704
Project: Apache Ozone
Issue Type: Improvement
Reporter: Hanisha Koneru
The help option for Volume, Bucket or Key create displays the following message:
{code:java}
Usage: ozone sh volume create [-hV] [--namespace-quota=<quotaInNamespace>]
[--quota=<quotaInBytes>] [-u=<ownerName>] <value>
Creates a volume for the specified user
<value> URI of the volume.
Ozone URI could start with o3:// or without prefix.
URI may contain the host/serviceId and port of
the OM server. Both are optional. If they are not
specified it will be identified from the config
files.
-h, --help Show this help message and exit.
--namespace-quota=<quotaInNamespace>
For volume this parameter represents the number of
buckets, and for buckets represents the number of
keys (eg. 5)
--quota, --space-quota=<quotaInBytes>
The maximum space quota can be used (eg. 1GB)
-u, --user=<ownerName> Owner of the volume
-V, --version Print version information and exit.
{code}
The URI syntax is not clear. We can improve the message and give examples on
possible syntax options.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]