Sadanand Shenoy created HDDS-8629:
-------------------------------------

             Summary: ozone sh fails to load client when multiple service ids 
are defined in the client config
                 Key: HDDS-8629
                 URL: https://issues.apache.org/jira/browse/HDDS-8629
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Sadanand Shenoy


When more than one service ids are defined in the client config ozone sh 
operations fail when referencing the service id


{code:java}
[~]$ ozone sh volume list
Service ID or host name must not be omitted when multiple ozone.om.service.ids 
is defined.
[~]$ ozone sh volume list o3://ozone1
Following ServiceID's [ozone1, ozone2] are defined in the configuration. Use 
the method getRpcClient which takes serviceID and configuration as param {code}

The fix here would be to use the right getRpcClient which takes serviceId as 
argument.



--
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