Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-13-2017 10:34 AM
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
Created 12-13-2017 12:21 PM
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
Created 12-13-2017 10:40 AM
Sorry,
I am on Linux Centos06, my cluster is HDP 2.5.0.
BR
Gérald
Created 12-13-2017 12:21 PM
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