You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2017/03/27 19:57:41 UTC

[jira] [Created] (AMBARI-20596) Cleanup temporary files needed for downloading client configurations response

Robert Levas created AMBARI-20596:
-------------------------------------

             Summary: Cleanup temporary files needed for downloading client configurations response
                 Key: AMBARI-20596
                 URL: https://issues.apache.org/jira/browse/AMBARI-20596
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.2.2
            Reporter: Robert Levas
            Assignee: Robert Levas
             Fix For: 2.5.1


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 

{noformat}
GET /api/v1/clusters/c1/services/:SERVICE_NAME/components/:COMPONENT_NAME?format=client_config_tar
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)