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

Review request for Ambari, Andrew Onischuk and Sumit Mohanty.


Bugs: AMBARI-18275
    https://issues.apache.org/jira/browse/AMBARI-18275


Repository: ambari


Description
-------

We are trying upgrade Ambari from 2.2.2 to Ambari 2.4 with the latest packages 
(1226).

https://issues.apache.org/jira/browse/AMBARI-15947 - "Upgrading Ambari should 
delete any pyc files"

The patch contains the following two lines
{code}
AMBARI_SERVER="${ROOT}/usr/lib/python2.6/site-packages/ambari_server"
find $AMBARI_SEVER/ -name *.pyc -exec rm {} \;
{code}

The AMBARI_SEVER typo basically executes "find / -name *.pyc -exec rm {} \;"
on the root directory and deletes ALL pyc files from the ambari server machine.


Diffs
-----

  ambari-server/conf/unix/install-helper.sh 07c5e50 

Diff: https://reviews.apache.org/r/51527/diff/


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko

Reply via email to