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

Ozone cli support multiple ozone.om.service.ids

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: