ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-16136) Make temp filenames unique when creating files
Date Fri, 29 Apr 2016 18:53:12 GMT


Hadoop QA commented on AMBARI-16136:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results:
Console output:

This message is automatically generated.

> Make temp filenames unique when creating files
> ----------------------------------------------
>                 Key: AMBARI-16136
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions:
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>             Fix For: 2.2-next
>         Attachments: AMBARI-16136.patch
> When creating files on linux, ambari-agent use create_file() in Here first a
temp file created, copied over the right place later. The filename of this temp file currently
is:     tmpf_name = tempfile.gettempdir() + os.sep + tempfile.template + str(time.time()).
This may cause problems in case of parallel executions, thread name or something random should
be added to be more unique.  

This message was sent by Atlassian JIRA

View raw message