[
https://issues.apache.org/jira/browse/AMBARI-13242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Di Li updated AMBARI-13242:
---------------------------
Description:
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/ambari-server.py", line 26, in <module>
from ambari_commons.exceptions import FatalException, NonFatalException
File "/usr/lib/python2.6/site-packages/ambari_commons/__init__.py", line 21, in
<module>
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 133,
in <module>
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 115,
in __init__
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 112,
in initialize_data
was:
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.
File "/usr/sbin/ambari-server.py", line 26, in <module>
from ambari_commons.exceptions import FatalException, NonFatalException
File "/usr/lib/python2.6/site-packages/ambari_commons/__init__.py", line 21, in
<module>
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 133,
in <module>
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 115,
in __init__
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 112,
in initialize_data
> ambari-server setup failed if use another server as ambari-server next time
> ---------------------------------------------------------------------------
>
> Key: AMBARI-13242
> URL: https://issues.apache.org/jira/browse/AMBARI-13242
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.1.0
> Reporter: Di Li
>
> 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/ambari-server.py", line 26, in <module>
> from ambari_commons.exceptions import FatalException, NonFatalException
> File "/usr/lib/python2.6/site-packages/ambari_commons/__init__.py", line 21,
> in <module>
> File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 133,
> in <module>
> File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 115,
> in __init__
> File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 112,
> in initialize_data
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)