whbing opened a new pull request, #4613:
URL: https://github.com/apache/ozone/pull/4613

   ## What changes were proposed in this pull request?
   
   Ozone cli support multiple ozone.om.service.ids
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8482
   
   
   ## How was this patch tested?
   
   manual tests passed.
   
   without pr:
   ```bash
   $ 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
   ```
   
   with pr:
   ```bash
   # 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  
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to