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

Attila Doroszlai resolved HDDS-9944.
------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

> NSSummary commands should close OzoneClient
> -------------------------------------------
>
>                 Key: HDDS-9944
>                 URL: https://issues.apache.org/jira/browse/HDDS-9944
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>              Labels: newbie, pull-request-available
>             Fix For: 1.5.0
>
>
> {{NSSummaryAdmin}} creates {{OzoneClient}} for some bucket-related checks.
> # it should close client when no longer needed
> # it should reuse client (or even {{bucket}} after lookup) for all checks
> {code:title=hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/nssummary/NSSummaryAdmin.java}
> 93:    OzoneClient ozoneClient = 
> OzoneClientFactory.getRpcClient(getOzoneConfig());
> 122:    OzoneClient ozoneClient = 
> OzoneClientFactory.getRpcClient(getOzoneConfig());
> 155:    OzoneClient ozoneClient = 
> OzoneClientFactory.getRpcClient(getOzoneConfig());
> {code}



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