Support Questions

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

Ambari 2.2.2 upgrade rpmsave

avatar
Rising Star

Upgrading to Ambari 2.2.2 from 2.2 and when executing $ambari-server upgrade am receiving the following warnings:

"Updating properties in ambari.properties ... WARNING: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings Fixing database objects owner"

I am using an external PostreSQL database. I do have backups, but what is this going to wipeout?

1 ACCEPTED SOLUTION

avatar
Guru

I think that message is meant to be more "INFO" than "WARNING". It's checking if there is a previous ambari-env.sh.rpmsave file that was created already and letting you know since there is none, there is are no old env settings to merge.

Looks like it has been changed to INFO (in future Ambari release) to avoid potential concern.

https://github.com/apache/ambari/commit/a5807823299cc575e8269167a6c0f45b003bb60c

View solution in original post

2 REPLIES 2

avatar
Guru

I think that message is meant to be more "INFO" than "WARNING". It's checking if there is a previous ambari-env.sh.rpmsave file that was created already and letting you know since there is none, there is are no old env settings to merge.

Looks like it has been changed to INFO (in future Ambari release) to avoid potential concern.

https://github.com/apache/ambari/commit/a5807823299cc575e8269167a6c0f45b003bb60c

avatar
Rising Star

Thanks, that makes sense and the upgrade went smoothly.