You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Krishna Kumar Asawa (Jira)" <ji...@apache.org> on 2023/12/22 06:55:00 UTC
[jira] [Updated] (HDDS-9944) NSSummary commands should close OzoneClient
[ https://issues.apache.org/jira/browse/HDDS-9944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krishna Kumar Asawa updated HDDS-9944:
--------------------------------------
Labels: newbie (was: )
> 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
> Priority: Major
> Labels: newbie
>
> {{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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org