ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11939) Upgrades Placed Into ABORTED Status Show As COMPLETED
Date Tue, 16 Jun 2015 01:28:00 GMT
Jonathan Hurley created AMBARI-11939:
----------------------------------------

             Summary: 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


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)

Mime
View raw message