Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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
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());
Attachments
Issue Links
- links to