Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20633

Cleanup temporary files needed for downloading client configurations response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.5.1
    • 2.5.1
    • ambari-server
    • None

    Description

      Cleanup temporary files needed for downloading client configurations response.
      While handling the REST API call used to request client configurations, some temporary files are created and never cleaned up. Also, since the created temporary files have names generated based on the request, the potential for collision exists. Thus, the temporary files should have random names to avoid conflicts.

      The request to generate the issue at hand is
      GET /api/v1/clusters/c1/services/:SERVICE_NAME/components/:COMPONENT_NAME?format=client_config_tar

      Attachments

        Issue Links

          Activity

            People

              amagyar Attila Magyar
              amagyar Attila Magyar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: