ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Di Li" <>
Subject Re: Review Request 38806: AMBARI-13242: ambari-server setup failed if use another server as ambari-server next time
Date Thu, 01 Oct 2015 20:13:23 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 1, 2015, 8:13 p.m.)

Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, and Sid Wagle.

Bugs: AMBARI-13242

Repository: ambari


The uninstall script in RPM does not clean up the symbolic links created in /usr/lib/python2.6/site-packages.
The broken links causes following err if user tries to install Ambari server on a node that
has been previously installed with Ambari agent. Vise Versa.

File "/usr/sbin/", line 26, in <module>
from ambari_commons.exceptions import FatalException, NonFatalException
File "/usr/lib/python2.6/site-packages/ambari_commons/", line 21, in <module>
File "/usr/lib/python2.6/site-packages/ambari_commons/", line 133, in <module>
File "/usr/lib/python2.6/site-packages/ambari_commons/", line 115, in _init_
File "/usr/lib/python2.6/site-packages/ambari_commons/", line 112, in initialize_data

Diffs (updated)

  ambari-agent/pom.xml 0096162 
  ambari-agent/src/main/package/rpm/ PRE-CREATION 
  ambari-server/pom.xml 3377961 
  ambari-server/src/main/package/rpm/ PRE-CREATION 



Generate Ambari Server and Agent RPMs
Install the Ambari Agent RPM on a machine
Run yum erase to remove the Ambari Agent RPM > verify the symbolic links in /usr/lib/python2.6/site-packages
are removed. 
On the very same machine, now install Ambari Server RPM > verify the RPM install is successful,
and can start/stop Ambari server.
Run yum erase to remove the Ambari Server RPM > verify the symbolic links in /usr/lib/python2.6/site-packages
are removed.


Di Li

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message