ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15947) Upgrading Ambari should delete any pyc files
Date Mon, 18 Apr 2016 23:29:25 GMT

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

Hadoop QA commented on AMBARI-15947:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12799292/AMBARI-15947.patch
  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
tests.
                        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 ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6512//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6512//console

This message is automatically generated.

> Upgrading Ambari should delete any pyc files
> --------------------------------------------
>
>                 Key: AMBARI-15947
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15947
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15947.patch
>
>
> A python file owned by ambari agent had a swp file open during the ambari agent upgrade.
For that reason, the pyc file never got recreated, which led to seeing the bug again for that
Jira even though the source code was correct.
> Upgrading ambari agent or server should always delete any pyc files in
> /var/lib/ambari-agent
> /var/lib/ambari-server
> /usr/lib/python2.6/site-packages/ambari-agent
> /usr/lib/python2.6/site-packages/ambari-server
> /usr/lib/python2.6/site-packages/ambari-commons
> /usr/lib/python2.7/site-packages/ambari-agent
> /usr/lib/python2.7/site-packages/ambari-server
> /usr/lib/python2.7/site-packages/ambari-commons



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message