Support Questions

Find answers, ask questions, and share your expertise

ambari server upgrade failed

Upgrading from 2.4 to 2.5 getting this error at ambari-server Upgrade.

[root@hdp ~]# ambari-server upgrade
Using python  /usr/bin/python
Upgrading ambari-server
INFO: Upgrade Ambari Server
INFO: Updating Ambari Server properties in ambari.properties ...
WARNING: Can not find ambari.properties.rpmsave file from previous version, skipping import of settings
INFO: Updating Ambari Server properties in ambari-env.sh ...
INFO: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings. ambari-env.sh may not include any user customization.
ERROR: Unexpected OSError: [Errno 17] File exists
For more info run ambari-server with -v or --verbose option


1 REPLY 1

HI @Sam Red ,

Seems like you are hitting this Apache JIRA : https://issues.apache.org/jira/browse/AMBARI-21263

Can you try to run the ambari-server upgrade with -v option and see what exact error is mentions.

usually it will be symlink error. then delete the symlink from the location or try the solution mention in the link : https://community.hortonworks.com/questions/110792/ambari-25-upgrade-and-hdpsearch-issue.html

See if this helps.