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 2020/04/01 16:09:00 UTC

[jira] [Assigned] (HDDS-3238) Fix Error Message for incorrect OM service ID in client url

     [ https://issues.apache.org/jira/browse/HDDS-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hanisha Koneru reassigned HDDS-3238:
------------------------------------

    Assignee:     (was: Hanisha Koneru)

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