- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Stack upgrade using Ambari - Missing version ?
Created on ‎04-29-2016 12:09 PM - edited ‎09-16-2022 03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to perform an upgrade on a test cluster (3 vms). The idea is to go from
Ambari 1.7.0 with HDP 2.2.0.0-2041 + Ganglia/Nagios
to
Ambari 2.2.1.0 with HDP 2.4.0.0 + Ambari Metrics
The ambari upgrade worked and the 2.2 hdp cluster is running normally. I haven't any error or alert.
When I register a new version, it is visible from the Manage ambari -> Versions page.
But when I want to perform an upgrade from Admin -> Stack and Versions -> Versions , only the current version is visible.
Why is that so ? What did I miss ?
Services installed :
- List item
- HDFS
- MapReduce
- YARN
- Tez
- Hive
- Pig
- Oozie
- Zookeeper
- Ambari Metrics
- Kafka
Thank you for your help !
Created ‎05-04-2016 11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry to answer this late but this did the trick. :
Created ‎04-29-2016 12:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @axel couty. I have seen this, and other similar strange behaviour before, usually when there's been some form of network instability between the users browser and the ambari server. It seems to get the Ambari database into a strange condition.
If that's the case, you may need to perform some database hacking to fix it, however before you descend into that, have you tried restarting the ambari server first and seeing if once it comes back up the new versions appear now?
Created ‎04-29-2016 12:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @drussell. yes I restarted everything between each version registration on ambari. Also, I restarted the stack etc..
Thank you for the database information, it lead me to this
and this
https://issues.apache.org/jira/browse/AMBARI-15893
Is that what you were talking about ?
My VMs are snapshoted, so I guess I can try some things :).
Created ‎04-29-2016 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, indeed, you've identified the issues I was thinking about. I'd definately suggest rolling back the snapshots and seeing if you can repeat the situation.
I once had a room full of 40 people, with one cluster per 2 people, and a slightly iffy wifi connection, we probably saw this occur on 3 of the 20 clusters, so I know the issue is out there :o/
Created ‎04-29-2016 12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay I will try to roll back first ! It can be an issue with the fact I'm using a remote desktop browser's to acces ambari. I am confident, your experience will lead my small test cluster to a brighter future. Will report back there when I have some results :).
Created ‎04-29-2016 01:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well. I can repeat the situation. I just have to add the reposytories after the rollbacks. I will try the "database tricks" option
Created ‎05-04-2016 11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry to answer this late but this did the trick. :
Created ‎05-04-2016 11:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad that issue is resolved.
![](/skins/images/C3EF05C688F0C29C1D3298241F61C2B3/responsive_peak/images/icon_anonymous_message.png)