You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/08/26 10:47:00 UTC

[jira] [Resolved] (HDDS-5280) Make XceiverClientManager creation when necessary in ContainerOperationClient

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

Bharat Viswanadham resolved HDDS-5280.
--------------------------------------
    Fix Version/s: 1.2.0
       Resolution: Fixed

> Make XceiverClientManager creation when necessary in ContainerOperationClient
> -----------------------------------------------------------------------------
>
>                 Key: HDDS-5280
>                 URL: https://issues.apache.org/jira/browse/HDDS-5280
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>
> ContainerOperation Client creates XceiverClientManager.
> XceiverClientManager requires to getCA list.
> {code:java}
>       manager = new XceiverClientManager(conf,
>           conf.getObject(XceiverClientManager.ScmClientConfig.class),
>           caCertificates);
> {code}
> We can avoid listCA which is not required for most admin commands. It is required only for ChunkKeyHandler.
> This will help when ACLS are configured for SCM security protocol where only admin/service principals can make calls to the SCMSecurityProtocol server, then we don't need to add all the users to them to make these commands work.
> As for few of the commands like pipeline list, safe mode status we don't require admin privilege.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org