ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <>
Subject Re: Ambari, upgrading HDP to 2.5 fail save cluster status
Date Fri, 28 Oct 2016 18:07:20 GMT
Hi Jose,

Please take a look at

Can you provide this,

SELECT repo_version_id, version, display_name FROM repo_version;
SELECT repo_version_id, state FROM cluster_version ORDER BY repo_version_id;
SELECT repo_version_id, state, COUNT(*) FROM host_version GROUP BY repo_version_id, state
ORDER BY repo_version_id, state;
SELECT service_name, component_name, version, host_id, upgrade_state FROM hostcomponentstate
WHERE version <> '' AND service_name NOT IN ('AMBARI-METRICS') and component_name
NOT IN ('ZKFC', 'KERBEROS_CLIENT') ORDER BY service_name, component_name, host_id;

My guess is that at least one host has a host_version record that's not UPGRADED, and hence
the cluster_version is not UPGRADED.

This will help identify which host and which components are not yet on the newer version.
Once you know that, ssh onto that host and run, "hdp-select set all".
You may then "Pause" the upgrade to regain control of the cluster ops through the UI, then
restart the affected components from the Host Details page (if it's a client, then you only
need to do "Refresh Configs").
Next, you can "Resume" the upgrade in order to "Finalize".


From: José Manuel Molero <<>>
Reply-To: "<>" <<>>
Date: Friday, October 28, 2016 at 10:58 AM
To: "<>" <<>>
Subject: Ambari, upgrading HDP to 2.5 fail save cluster status

Hi all,

I am using the Hortonworks Hadoop distribution with Ambari. I try to upgrade from HDP 2.4
to 2.5 and I am using Ambari 2.4.1.

I try to upgrade using ambari following this guide:
point by point.

But always at the end, when the upgrade is finalizing I have always the same error:

The following 1 host(s) have not been upgraded to version Please install and
upgrade the Stack Version on those hosts and try again.
Hosts: client.hadoop

But the stack is installed. I check with:

hdp-select versions

And all the packages are using the version

And ambari is not able to save the status of the cluster.

Any help to try to debug would be really helpful.

Thanks in advance.

View raw message