Created 05-07-2017 08:19 AM
I was trying to upgrade HDP from 2.4 to 2.5. After many problems, I gave up on this and decided to wipe out HDP and Ambari and start again. I deleted everything (or so I thought!), and I got to the point of logging into Ambari in order to add hosts, create a cluster etc and it shows my old cluster as before, current version 2.4 upgrade 2.5 available.
I guess I missed something in my wiping out of my old setup. Where is this information stored so I can wipe it out too?
TIA!
PS I saw this but I do not have /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py on my system.
The steps I went through are in this document.
Created 05-07-2017 08:29 AM
As you mentioned that " you decided to wipe out HDP and Ambari and start again. I deleted everything (or so I thought!), and I got to the point of logging into Ambari in order to add hosts,... and it shows my old cluster as before"
I guess that might be happening if your ambari DB is not reset. Are you sure that you have executed the "ambari-server reset" and then "ambari-server setup" again to make sure that the information's stored inside the ambari DB is cleaned properly. (It is recommended to take ambari DB dump before making and DB related changes).
Steps :
# echo "Take ambari DB dump ... and then perform the following steps." # ambari-server reset # ambari-server setup # ambari-server start
.
Created 05-07-2017 08:29 AM
As you mentioned that " you decided to wipe out HDP and Ambari and start again. I deleted everything (or so I thought!), and I got to the point of logging into Ambari in order to add hosts,... and it shows my old cluster as before"
I guess that might be happening if your ambari DB is not reset. Are you sure that you have executed the "ambari-server reset" and then "ambari-server setup" again to make sure that the information's stored inside the ambari DB is cleaned properly. (It is recommended to take ambari DB dump before making and DB related changes).
Steps :
# echo "Take ambari DB dump ... and then perform the following steps." # ambari-server reset # ambari-server setup # ambari-server start
.
Created 05-08-2017 11:27 AM
@Jay SenSharma thanks! I don't think I did the reset step, I'll try tonight.
Created 05-08-2017 03:09 PM
That was it!