You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Srinivasu Majeti (Jira)" <ji...@apache.org> on 2020/09/18 16:33:00 UTC
[jira] [Created] (HDDS-4259) Invalid ozone CLI command shows wrong
warning for expected syntax for URI
Srinivasu Majeti created HDDS-4259:
--------------------------------------
Summary: 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: Hadoop Distributed Data Store
Issue Type: Bug
Components: Ozone CLI
Affects Versions: 0.5.0
Reporter: Srinivasu Majeti
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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org