You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/06/16 03:34:00 UTC
[jira] [Updated] (AMBARI-11939) Upgrades Placed Into ABORTED Status
Show As COMPLETED
[ https://issues.apache.org/jira/browse/AMBARI-11939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hurley updated AMBARI-11939:
-------------------------------------
Attachment: AMBARI-11939.patch
> Upgrades Placed Into ABORTED Status Show As COMPLETED
> -----------------------------------------------------
>
> Key: AMBARI-11939
> URL: https://issues.apache.org/jira/browse/AMBARI-11939
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-11939.patch
>
>
> When placing a stack upgrade request into the ABORTED state, Ambari calculates the stages and overall request as COMPLETED even though the tasks are actually ABORTED.
> This prevents that request from being placed back into the PENDING state.
> {code}
> - Now this upgrade can be aborted:
> {code:title=PUT api/v1/clusters/<cluster>/upgrades/21}
> {
> "Upgrade": {
> "request_status": "ABORTED"
> }
> }
> {code}
> - At this point, experimental mode can be enabled to work with Ambari. When finalize is ready, the same upgrade/request can be placed back into a {{PENDING}} status:
> {code:title=PUT api/v1/clusters/<cluster>/upgrades/21}
> {
> "Upgrade": {
> "request_status": "PENDING"
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)