Created 02-16-2016 08:46 AM
I'm going to update HDP-2.2.8.0 to HDP-2.3.4.0 using Ambari.
After I've registered HDP-2.3.4.0 version, it's not displayed on Versions tab in Ambari.
I'm using Ambari 2.2. What am I missing?
Created 04-27-2016 03:42 PM
Hi,
I had the same problem and I have tried this and it works!
1 - Access Ambari Database
2 - ambari=> select * from stack;
stack_id | stack_name | stack_version
----------+------------+-----------------
1 | HDP | 2.3
2 | HDP | 2.1.GlusterFS
3 | HDP | 2.2
4 | HDP | 2.1
5 | HDP | 2.0
6 | HDP | 2.0.6
7 | HDP | 2.3.GlusterFS
8 | HDP | 2.0.6.GlusterFS
ambari=> select cluster_id, desired_stack_id from clusters;
cluster_id | desired_stack_id
------------+------------------
4 | 3
Then update table "clusters" to set the correct stack_id (HDP 2.3)
ambari=> update clusters set desired_stack_id = 1 where cluster_id = 4;
Created 04-13-2016 10:47 AM
Are you on CentOS/RHEL-7? I did recently two upgrades, one using Ambari-2.2.0 and one using 2.2.1.1 (both from HDP-2.2.x) and I had no issues. However, both were on RHEL-6.x
Created 04-13-2016 10:47 AM
I'm on CentOS 6
Created 04-13-2016 08:44 PM
I'm also on CentOS6 - maybe it's OS specific?
Created 04-14-2016 06:58 AM
Maybe we should file a bugreport somewhere?
Created 04-14-2016 07:28 AM
My first try is on CentOS7 (single node). Then I try to other cluster (CentOS7 multinode) and have same error.
On Azure with CentOS7 (openlogic) not have error.
Created 04-14-2016 06:31 PM
I've created a Jira ticket: https://issues.apache.org/jira/browse/AMBARI-15893
Created 04-27-2016 03:42 PM
Hi,
I had the same problem and I have tried this and it works!
1 - Access Ambari Database
2 - ambari=> select * from stack;
stack_id | stack_name | stack_version
----------+------------+-----------------
1 | HDP | 2.3
2 | HDP | 2.1.GlusterFS
3 | HDP | 2.2
4 | HDP | 2.1
5 | HDP | 2.0
6 | HDP | 2.0.6
7 | HDP | 2.3.GlusterFS
8 | HDP | 2.0.6.GlusterFS
ambari=> select cluster_id, desired_stack_id from clusters;
cluster_id | desired_stack_id
------------+------------------
4 | 3
Then update table "clusters" to set the correct stack_id (HDP 2.3)
ambari=> update clusters set desired_stack_id = 1 where cluster_id = 4;
Created 04-28-2016 08:47 AM
Great! I can install now, I try to complete the process.
Created 04-28-2016 10:37 AM
Ok, finish upgrade now, all works correctly. Thanks @Ignacio Pérez Torres
Created 04-29-2016 09:47 AM
Thanks, the solution helped me! Just needed to restart ambari-server.
Created 08-04-2016 09:52 AM
Thanks, this solution worked after I did the solution of @Alessio Ubaldi
Created on 04-27-2016 05:33 PM - edited 08-19-2019 12:59 AM
Setting desired_stack_id to '9' (as I want to install 2.4) is not working for me.
Created 04-27-2016 08:48 PM
Have you stopped and started ambari server?
Created 04-28-2016 07:11 AM
After restarting Ambari Server, I'm able to install 2.4 on the Cluster - thanks! It is still a bug though..