Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Registered version HDP-2.3.4.0 is not listed

avatar
Contributor

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
Contributor

Hi everyone,

After facing this issue and posting this topic I've decided to start over and made a clean install. I've just had a test cluster and this was the shortets way after all.

But today I've started to upgrade my cluster from HDP-2.3.4.0-3485 то HDP-2.4.0.0.

First, I've updated to version HDP-2.3.4.7 as was suggested in official documentation. Also I've updates Ambari to version 2.2.1.1 (the latest available).

Then I've tried to register HDP-2.4.0.0 version, but faced the described issue AGAIN!!!

Please, help! Has anyone updated from 2.3 to 2.4 stack? Are there any walkarounds that work?

avatar
Master Guru

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
Contributor

I'm on CentOS 6

avatar
Explorer

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

avatar
Contributor

Maybe we should file a bugreport somewhere?

avatar
Expert Contributor

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
Expert Contributor

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

avatar
Expert Contributor

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