-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46337/#review129490
-----------------------------------------------------------


Ship it!




I think re-remove is that rigth place to do it. 

Ps: prerm is also called during upgrade.

- Andrew Onischuk


On April 18, 2016, 5:35 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46337/
> -----------------------------------------------------------
> 
> (Updated April 18, 2016, 5:35 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-15947
>     https://issues.apache.org/jira/browse/AMBARI-15947
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-agent/conf/unix/install-helper.sh 2495080 
>   ambari-server/conf/unix/install-helper.sh 25a10d6 
> 
> Diff: https://reviews.apache.org/r/46337/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>

Reply via email to