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/10/20 17:54:27 UTC
[jira] [Created] (AMBARI-13491) Expose Failure Auto-Skip Setting On
Upgrade Endpoint
Jonathan Hurley created AMBARI-13491:
----------------------------------------
Summary: Expose Failure Auto-Skip Setting On Upgrade Endpoint
Key: AMBARI-13491
URL: https://issues.apache.org/jira/browse/AMBARI-13491
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 2.1.3
Reporter: Jonathan Hurley
Assignee: Jonathan Hurley
Priority: Critical
Fix For: 2.1.3
Upgrades can optionally be set to automatically skip slave/client failures and/or service check failures. This helps the upgrade process be more automated by requiring less interaction from administrators.
These two optional preferences should be exposed via the upgrades endpoint on each upgrade:
{code:title=GET api/v1/clusters/c1/upgrades/92}
"Upgrade": {
"cluster_name": "c1",
"create_time": 1443818468162,
"direction": "UPGRADE",
"end_time": 1443876837814,
"exclusive": false,
"from_version": "2.2.7.0-2816",
"progress_percent": 75.00769822940724,
"request_context": "Upgrading to 2.3.0.0-2557",
"request_id": 92,
"request_status": "IN_PROGRESS",
"start_time": 1443818472898,
"to_version": "2.3.0.0-2557",
"type": "INTERNAL_REQUEST"
...
{code}
Two new options should be exposed here:
{code}
"skip_failures": true,
"skip_service_check_failures": true
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)