Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9944

NSSummary commands should close OzoneClient

    XMLWordPrintableJSON

Details

    Description

      NSSummaryAdmin creates OzoneClient for some bucket-related checks.

      1. it should close client when no longer needed
      2. 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

          Activity

            People

              deveshsingh Devesh Kumar Singh
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: