Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.6.1
-
None
Description
AMBARI-21728 and AMBARI-22469 make the upgrade broken in case of several upgrade tries, failing to follow the Idempotent upgrade paradigm.
Issue is with:
protected void executeDDLUpdates() throws AmbariException, SQLException { Integer currentVersionID = getCurrentVersionID(); <---------------------- dropBrokenFK(); updateServiceComponentDesiredStateTable(currentVersionID); <---------------------- updateServiceDesiredStateTable(currentVersionID); <---------------------- addSelectedCollumsToClusterconfigTable(); updateHostComponentDesiredStateTable(); updateHostComponentStateTable(); dropStaleTables(); <---------------------- updateUpgradeTable(); createUpgradeHistoryTable(); updateRepositoryVersionTable(); renameServiceDeletedColumn(); addLegacyColumn(); expandUpgradeItemItemTextColumn(); addViewUrlPKConstraint(); removeStaleConstraints(); }
getCurrentVersionID() trying to query non-existing table and failing whole upgrade
Attachments
Attachments
Issue Links
- links to