[
https://issues.apache.org/jira/browse/AMBARI-15947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247908#comment-15247908
]
Hudson commented on AMBARI-15947:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4686 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4686/])
AMBARI-15947 Upgrading Ambari should delete any pyc files (dlysnichenko)
(dlysnichenko:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9d4e0228fee794dd729743679fbd5cee0609a8cc])
* ambari-agent/conf/unix/install-helper.sh
* ambari-server/conf/unix/install-helper.sh
> 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)