Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (2)
avatar

In Ambari when try to upgrade to HDP/HDF versions - after adding a new repo version, some times it might show disabled "install packages" button.

There can be multiple reasons for this.

1. Check to stack_id which stack_id clusters table is pointing to. it should be pointed to correct current stack_id if not correct with update query

2. check clusterstate table - it should be pointing to correct current stack_id if not correct with update query

3. How to find my correct current stack_id

run "select stack_id, version from repo_version" query - check the stack_id for your current hdp/hdf version.

4. so step1 and step2 should be pointing to stack_id returned in step3.

There can be many other reasons like not having "upgrades" folder in stack folder or some other.

2,117 Views
0 Kudos
Comments

Hi!

While upgrading HDF - 3.0.2 to HDF-3.2.0 I'm facing the same problem.

ambari=> select cluster_id, desired_stack_id from clusters;

cluster_id | desired_stack_id -

2 | 51

ambari=> select * from clusterstate ;

cluster_id | current_cluster_state | current_stack_id

2 | | 51

ambari=> select stack_id, version from repo_version;

stack_id | version

2 | 2.1.4.0-5

51 | 3.0.2.0-76

101 | 3.1.2.0-7

102 | 3.2.0.0

----------------------

My current version in 3.0.2.0-76, stack_id=51

what can be the reason of why I can't install and upgrade to 3.2.0.0

Thanks in advance!

with kind regards,

Gulshan

Version history
Last update:
‎04-21-2026 05:15 AM
Updated by: