Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari 2.4.2 trying to upgrade HDP 3.5.3 to same version already installed

Ambari 2.4.2 trying to upgrade HDP 3.5.3 to same version already installed

New Contributor

I've performed an upgrade of a cluster from HDP 2.4.2.0-258 to HDP 2.5.3.0-37. But for some reason, it triggered another Upgrade process. Everything upgraded, but now the cluster wants to perform another upgrade process.

12690-screen-shot-2017-02-20-at-174906.png

cluster_version table

12721-screen-shot-2017-02-20-at-175208.png

repo_version table

12722-screen-shot-2017-02-20-at-175507.png

As you can see, upgrade 51 and 52 are the same. 51 completed.

Is there a way to mark the upgrade 52 as done or cancel/remove it?

3 REPLIES 3
Highlighted

Re: Ambari 2.4.2 trying to upgrade HDP 3.5.3 to same version already installed

@Marco Silva

Can you do "select * from upgrade" table and check if any data exist in that table?

Also try executing below command -

--select distinct(request_id,status) from host_role_command where status IN ('PENDING', 'HOLDING_FAILED','ABORTED');

--update host_role_command set status = 'ABORTED' where status IN ('PENDING', 'HOLDING_FAILED') and request_id = 455;

Re: Ambari 2.4.2 trying to upgrade HDP 3.5.3 to same version already installed

New Contributor

SELECT distinct(request_id,status) FROM host_role_command WHERE status IN ('PENDING', 'HOLDING_FAILED','ABORTED')

12724-screen-shot-2017-02-20-at-210854.png

Re: Ambari 2.4.2 trying to upgrade HDP 3.5.3 to same version already installed

New Contributor