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

Cleanup temporary files needed for downloading client configurations response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.5.1, 2.4.3
    • 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

        1. AMBARI-20596.patch
          12 kB
          Attila Magyar
        2. AMBARI-20596_branch-2.4.patch
          9 kB
          Attila Magyar
        3. AMBARI-20596_2.patch
          0.8 kB
          Attila Magyar

        Issue Links

          Activity

            People

              amagyar Attila Magyar
              rlevas Robert Levas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: