You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "YiSheng Lien (Jira)" <ji...@apache.org> on 2020/04/06 15:31:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17076411#comment-17076411 ] 

YiSheng Lien commented on HDDS-3238:
------------------------------------

Hi [~hanishakoneru], thank for the issue.

I try to solve it with OMHA cluster, 
but I couldn't reproduce it. (Attachment is my result.)
Would you so kind to tell me how do you meet the bug situation ? (Or it has been fixed.)  

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