Support Questions

Find answers, ask questions, and share your expertise

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

avatar

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

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

Sorry,

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

BR

Gérald

avatar

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