You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2021/02/01 11:31:00 UTC
[jira] [Assigned] (HDDS-4259) Invalid ozone CLI command shows wrong
warning for expected syntax for URI
[ https://issues.apache.org/jira/browse/HDDS-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddhant Sangwan reassigned HDDS-4259:
--------------------------------------
Assignee: Siddhant Sangwan
> Invalid ozone CLI command shows wrong warning for expected syntax for URI
> -------------------------------------------------------------------------
>
> Key: HDDS-4259
> URL: https://issues.apache.org/jira/browse/HDDS-4259
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Affects Versions: 0.5.0
> Reporter: Srinivasu Majeti
> Assignee: Siddhant Sangwan
> Priority: Major
>
> When running invalid commands , we see the expected syntax not mentioning about om service id when HA is enabled.
>
> {code:java}
> [root@c1265-node2 ~]# ozone freon ddsg -n 1 -r o3fs://ozonesvc
>
> 0:00:0020/09/18 16:27:23 WARN fs.FileSystem: Failed to initialize fileystem o3fs://ozonesvc: java.lang.IllegalArgumentException: Ozone file system URL should be one of the following formats: o3fs://bucket.volume/key OR o3fs://bucket.volume.om-host.example.com/key OR o3fs://bucket.volume.om-host.example.com:5678/key
> Ozone file system URL should be one of the following formats: o3fs://bucket.volume/key OR o3fs://bucket.volume.om-host.example.com/key OR o3fs://bucket.volume.om-host.example.com:5678/key
> {code}
>
> We might need to revisit below uri syntax description for below one.
> {code:java}
> [root@c1265-node2 ~]# ozone sh volume create --help
> Usage: ozone sh volume create [-hV] [-q=<quota>] [-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.
> {code}
--
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