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/03/20 01:21:00 UTC

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

Hanisha Koneru created HDDS-3238:
------------------------------------

             Summary: 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: Hanisha Koneru


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