- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to remove old HDP stack after upgrading HDP
- Labels:
-
Hortonworks Data Platform (HDP)
Created 10-10-2022 09:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Guys!
I updated HDP from 3.1.0.0-78 to 3.1.5.6189-1 as well as Ambari from 2.7.3 to 2.7.5.
I want to remove the old stack of HDP as the files are still on the servers.
Is there any official guide for this move?
Created 10-18-2022 09:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @fengsh Yes, The remove script indeed has few bugs using curl which was picked up from AMBARI-18435 but this curl call is not officially supported and as such we don't have an official doc on this.
The other option to remove the older stack with "yum remove <version>" command, specifying the exact version you want to remove should get the job done.
You can also verify the list of packages to be removed using (please be thorough!):
# yum list installed | grep -P 'version'
Additionally, please verify the symlinks in the "/usr/hdp/current/" folder are pointing to the correct location.
--
Was your question answered? Please take some time to click on “Accept as Solution” below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created 10-11-2022 02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @fengsh , You can check the already solved below posts to see if that helps.
https://community.cloudera.com/t5/Support-Questions/How-to-remove-an-old-HDP-version/m-p/116161
Created 10-14-2022 01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rki_ , Really thank you for sharing these links with me.
I've gone through all of them. It seems the removing script has some bugs.
I'm curious about whether any official Docs mention the script.
Created 10-18-2022 09:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @fengsh Yes, The remove script indeed has few bugs using curl which was picked up from AMBARI-18435 but this curl call is not officially supported and as such we don't have an official doc on this.
The other option to remove the older stack with "yum remove <version>" command, specifying the exact version you want to remove should get the job done.
You can also verify the list of packages to be removed using (please be thorough!):
# yum list installed | grep -P 'version'
Additionally, please verify the symlinks in the "/usr/hdp/current/" folder are pointing to the correct location.
--
Was your question answered? Please take some time to click on “Accept as Solution” below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created 10-20-2022 10:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@fengsh, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
Regards,
Vidya Sargur,Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
