[
https://issues.apache.org/jira/browse/AMBARI-20596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953421#comment-15953421
]
Hudson commented on AMBARI-20596:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1338 (See
[https://builds.apache.org/job/Ambari-branch-2.5/1338/])
AMBARI-20596. Cleanup temporary files needed for downloading client
(adoroszlai:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7d9dda96de681e1782c5a4f96d1a3b11c0439730])
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
> 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: Attila Magyar
> Fix For: 2.5.1
>
> Attachments: AMBARI-20596_2.patch, AMBARI-20596.patch
>
>
> 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)