ambari-issues mailing list archives

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

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

Dmitry Lysnichenko updated AMBARI-15947:
----------------------------------------
    Affects Version/s: 2.4.0

> 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