You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hanisha Koneru (Jira)" <ji...@apache.org> on 2021/08/31 19:40:00 UTC

[jira] [Created] (HDDS-5704) Improve the description of Ozone URI in Ozone Shell help message

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org