ambari-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AMBARI-11939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14588104#comment-14588104
] 

Hudson commented on AMBARI-11939:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #52 (See [https://builds.apache.org/job/Ambari-branch-2.1/52/])
AMBARI-11939 - Upgrades Placed Into ABORTED Status Show As COMPLETED (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9531ed270529373d377c2062c65ecf9f041a3fd4)
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/CalculatedStatus.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/CalculatedStatusTest.java


> 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.
> - 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