Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

Registered version HDP-2.3.4.0 is not listed

avatar

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?

1 ACCEPTED SOLUTION

avatar
New Contributor

@ Dennis Fridlyand

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;

View solution in original post

34 REPLIES 34

avatar

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

avatar

I'm on CentOS 6

avatar
Explorer

I'm also on CentOS6 - maybe it's OS specific?

avatar

Maybe we should file a bugreport somewhere?

avatar
Rising Star

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.

avatar
Explorer

avatar
New Contributor

@ Dennis Fridlyand

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;

avatar
Rising Star

Great! I can install now, I try to complete the process.

avatar
Rising Star

Ok, finish upgrade now, all works correctly. Thanks @Ignacio Pérez Torres

avatar
@Ignacio Pérez Torres

Thanks, the solution helped me! Just needed to restart ambari-server.

avatar
New Contributor

Thanks, this solution worked after I did the solution of @Alessio Ubaldi

avatar
Explorer

Setting desired_stack_id to '9' (as I want to install 2.4) is not working for me.

3750-stack.png

3749-clusters.png

avatar
New Contributor

@Sebastian Zimmermann

Have you stopped and started ambari server?

avatar
Explorer

@Ignacio Pérez Torres

After restarting Ambari Server, I'm able to install 2.4 on the Cluster - thanks! It is still a bug though..

Labels