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

Dmitry Lysnichenko updated AMBARI-15947:
----------------------------------------
    Attachment: AMBARI-15947.patch

> 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)

Reply via email to