[
https://issues.apache.org/jira/browse/HDDS-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hongbing Wang updated HDDS-8482:
--------------------------------
Description:
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}
was:
ozone cli will get error when `ozone.om.service.ids` has multiple values:
{noformat}
$ ozone sh vol ls o3://ozone1
Following ServiceID's [DOzoneNmg, dizone] 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}
> 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
>
> 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]