Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

ambari-server upgrade/start/stop failed after ambari-server upgrade 24.2 -> 2.5.2

avatar
New Member

Hi,

I execute the upgrade/installation of ambari 2.4.2 to 2.5.2 and I have an issue when I want to launch "ambari-server upgrade". I obtain the following message :bugambari.jpg

[root@idlvsrv514 ~]# ambari-server upgrade
Using python /usr/bin/python
Upgrading ambari-server
Traceback (most recent call last):
File "/usr/sbin/ambari-server.py", line 40, in <module>
from ambari_server.serverUpgrade import upgrade, upgrade_stack, set_current
File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", line 51, in <module>
from ambari_server.setupMpacks import replay_mpack_logs
File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 30, in <module>
from ambari_commons.inet_utils import download_file, download_file_anyway
ImportError: cannot import name download_file_anyway

I'am blocked. Could you help me ?

Best Regards

Gerald

1 ACCEPTED SOLUTION

avatar
New Member

Hi,

solved following this post :

https://community.hortonworks.com/questions/140851/installation-under-rhel-73-has-some-versioning-is... with the solution from Jay Kumar SenSharma. I forgot to upgrade ambari-agent.

Best Regards

View solution in original post

2 REPLIES 2

avatar
New Member

Sorry,

I am on Linux Centos06, my cluster is HDP 2.5.0.

BR

Gérald

avatar
New Member

Hi,

solved following this post :

https://community.hortonworks.com/questions/140851/installation-under-rhel-73-has-some-versioning-is... with the solution from Jay Kumar SenSharma. I forgot to upgrade ambari-agent.

Best Regards