[ https://issues.apache.org/jira/browse/AMBARI-13032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735789#comment-14735789 ]
Hudson commented on AMBARI-13032: --------------------------------- FAILURE: Integrated in Ambari-branch-2.1 #494 (See [https://builds.apache.org/job/Ambari-branch-2.1/494/]) AMBARI-13032 - Automatically Skip Failed Tasks Of Slaves During Upgrade (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2b665fdd4652bf144151fff4240bb28b02735b2e) * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java * ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog212Test.java * ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java * ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContext.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleCommand.java * ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java * ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandStatusSummaryDTO.java * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java * ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java * ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java * ambari-server/src/test/java/org/apache/ambari/server/serveraction/ServerActionExecutorTest.java * ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java * ambari-server/src/test/java/org/apache/ambari/server/stageplanner/TestStagePlanner.java * ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleCommandFactory.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java * ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/topology/LogicalRequest.java * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java * ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java * ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java * ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandDAO.java * ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleCommandFactoryImpl.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Stage.java * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionManager.java * ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostRoleCommandEntity.java * ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java * ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog212.java * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/StageTest.java * ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestStage.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionDBAccessorImpl.java * ambari-server/src/test/java/org/apache/ambari/server/controller/internal/CalculatedStatusTest.java * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java * ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StageResourceProviderTest.java > Automatically Skip Failed Tasks Of Slaves During Upgrade > -------------------------------------------------------- > > Key: AMBARI-13032 > URL: https://issues.apache.org/jira/browse/AMBARI-13032 > 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.2 > > Attachments: AMBARI-13032.patch > > > During an upgrade, if any slave component experiences a failure during its > restart state then there should be a way for the rest of the upgrade group to > automatically continue despite the failure. This will prevent the need of > administrators to babysit the upgrade process, especially in cases of larger > clusters. > During the creation of the upgrade, an optional parameter should be supplied > to the REST endpoint to accomplish this. > {code:title=POST api/v1/clusters/c1/upgrades} > { > "Upgrade": { > "repository_version": "2.3.0.0-2545", > "skip_failures": true > } > } > {code} > The various skippable parts of the upgrade can be broken out into distinct > request parameters: > - {{skip_failures}} (skips all component failures) > - {{skip_service_check_failures}} (skips all service check failures) > If an upgrade begins without the skip option specified, it can later be added: > {code:title=PUT api/v1/clusters/c1/upgrades/1} > { > "Upgrade": { > "skip_failures": true > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)