You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/02/16 13:14:07 UTC

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

    [ https://issues.apache.org/jira/browse/AMBARI-20596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367035#comment-16367035 ] 

Hudson commented on AMBARI-20596:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8744/])
AMBARI-20596. Cleanup temporary files needed for downloading client (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a022ea95a483046bbcd88c47310d191f776dd4dc])
* (edit) ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
* (edit) ambari-common/src/main/python/resource_management/libraries/script/script.py
AMBARI-20596. Cleanup temporary files needed for downloading client (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e0412e86af1f5f395b525621ee60bb725aeef980])
* (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
>            Priority: Major
>             Fix For: 2.5.1, 2.4.3
>
>         Attachments: AMBARI-20596.patch, AMBARI-20596_2.patch, AMBARI-20596_branch-2.4.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
(v7.6.3#76005)