You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2016/04/18 19:35:25 UTC

[jira] [Updated] (AMBARI-15947) Upgrading Ambari should delete any pyc files

     [ https://issues.apache.org/jira/browse/AMBARI-15947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko updated AMBARI-15947:
----------------------------------------
    Component/s: ambari-server

> 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
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>         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)