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-8852) RU: Cannot Retry on failure
Date Mon, 29 Dec 2014 20:04:13 GMT

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

Hudson commented on AMBARI-8852:
--------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #1356 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1356/])
Revert "Revert "AMBARI-8852 - RU: Cannot Retry on failure (tbeerbower)"" This reverts commit
600f1afcd9f2f4f70c20e005a0f6b748214e15c8. (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e7303b1ce6605c2986d0a0cf93340ef8ffe1e73b)
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StageResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
* ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java
* ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java
* ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleCommand.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeGroupResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
* ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java
* ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestStage.java
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
* ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/StageEntity.java
* ambari-server/src/test/java/org/apache/ambari/server/serveraction/ServerActionExecutorTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StageResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/stageplanner/TestStagePlanner.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java
* ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Stage.java


> RU: Cannot Retry on failure
> ---------------------------
>
>                 Key: AMBARI-8852
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8852
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8852.patch
>
>
> During RU, a failure occurred on "Client Components" group, "Service Check HBASE, MAPREDUCE2,
HDFS, YARN" item.
> The UI presented me with a Retry button.  However, the server rejected this request:
> PUT /api/v1/clusters/ysru2/upgrades/5/upgrade_groups/4/upgrade_items/30
> {"UpgradeItem":{"status":"PENDING"}}
> {
>   "status" : 400,
>   "message" : "java.lang.IllegalArgumentException: Can not transition a stage from FAILED
to PENDING"
> }
> I believe this is the current expected behavior since the failure is not marked to hold.
 
> However, on any service check failure, the user should be able to retry (or maybe on
any failure?  actions should be idempotent).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message