Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4098

Improve om admin getserviceroles error message

    XMLWordPrintableJSON

Details

    Description

      Steps to reproduce:

      1. Start sample docker cluster
      2. Run ozone admin om getserviceroles with unknown service ID
      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$
      
      • 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.

      Attachments

        Activity

          People

            dshavkanihort Dharmendra Shavkani
            adoroszlai Attila Doroszlai
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: