[
https://issues.apache.org/jira/browse/HDDS-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hanisha Koneru resolved HDDS-3238.
----------------------------------
Resolution: Not A Problem
> Fix Error Message for incorrect OM service ID in client url
> -----------------------------------------------------------
>
> Key: HDDS-3238
> URL: https://issues.apache.org/jira/browse/HDDS-3238
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Hanisha Koneru
> Assignee: YiSheng Lien
> Priority: Major
> Attachments: IDWithUnsupportChar.png, wrongServiceID.png
>
>
> 1. In Ozone Shell, when the wrong OM Service ID is given in the URL, instead
> of printing error message, it just prints the given service id.
> {code:java}
> $ bin/ozone sh bucket list o3://WRONG/vol1
> WRONG
> {code}
> 2. Also, if the given OM Service ID contains an unsupported character, it
> ignores the service ID altogether.
> {code:java}
> $ bin/ozone sh bucket list o3://WRONG_ID/vol1
> {
> "metadata" : { },
> "volumeName" : "vol1",
> "name" : "buck1",
> "storageType" : "DISK",
> "versioning" : false,
> "creationTime" : "2020-03-20T00:58:01.892Z",
> "encryptionKeyName" : null
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]