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

Ozone cli support multiple ozone.om.service.ids

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      ozone cli will get error when `ozone.om.service.ids` has multiple values:

      $ ozone sh vol ls o3://ozone1
      Following ServiceID's [ozone1, ozone2] are defined in the configuration. Use the method getRpcClient which takes serviceID and configuration as param
      

      Result expected:

      # case1
      $ ozone sh vol ls o3://ozone1
      [ {
        "metadata" : { }...
      ]
      
      # case2
      $ ozone sh vol ls o3://ozone2
      [ {
        "metadata" : { }...
      ]
      
      # case3
      ozone sh vol ls
      Service ID or host name must not be omitted when multiple ozone.om.service.ids is defined  

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wanghongbing Hongbing Wang
            wanghongbing Hongbing Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment