When performing a downgrade from HDP 2.3 to HDP 2.2, the web client can sometimes not show the Retry button in the event of a failure. The problem stems from two issues:
- When retrying a stage with hosts not heartbeating, the entire stage is automatically aborted
- Task updates in stages is done in a non-atomic manner.
Since we have upgrade group in IN_PROGRESS state, and no upgrade items in IN_PROGRESS state, following situation happened. After upgrade failed, all IN_PROGRESS groups, items should be transitioned into ABORTED state, so this is BE issue in order to avoid such a collision.