[ 
https://issues.apache.org/jira/browse/HDDS-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai resolved HDDS-8482.
------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed

> Ozone cli support multiple ozone.om.service.ids
> -----------------------------------------------
>
>                 Key: HDDS-8482
>                 URL: https://issues.apache.org/jira/browse/HDDS-8482
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI, Ozone Client
>    Affects Versions: 1.3.0
>            Reporter: Hongbing Wang
>            Assignee: Hongbing Wang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> ozone cli will get error when `ozone.om.service.ids` has multiple values:
> {noformat}
> $ 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
> {noformat}
> Result expected:
> {noformat}
> # 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  {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to