Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar

Sorry,

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

BR

Gérald

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login