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

[jira] [Created] (HDDS-4098) Improve om admin getserviceroles error message

Attila Doroszlai created HDDS-4098:
--------------------------------------

             Summary: Improve om admin getserviceroles error message
                 Key: HDDS-4098
                 URL: https://issues.apache.org/jira/browse/HDDS-4098
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone CLI
            Reporter: Attila Doroszlai


Steps to reproduce:

# Start sample docker cluster
# Run {{ozone admin om getserviceroles}} with unknown service ID

{code:title=repro}
$ cd hadoop-ozone/dist/target/ozone-*/compose/ozone
$ docker-compose up -d
$ docker-compose exec scm bash
bash-4.2$ ozone admin om getserviceroles --service-id=om
Error: This command works only on OzoneManager HA cluster. Service ID specified does not match with ozone.om.service.ids defined in the configuration. Configured ozone.om.service.ids are[]bash-4.2$
{code}

* The message should include a space before {{[]}}, and a newline at the end (prompt should appear in next line).
* Wording of the message could also be improved.



--
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