ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-13064) Provide Summary Of Skipped Failures During Upgrade
Date Thu, 10 Sep 2015 19:05:47 GMT
Jonathan Hurley created AMBARI-13064:

             Summary: Provide Summary Of Skipped Failures During Upgrade
                 Key: AMBARI-13064
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.1.2

There should be a new server-side action created which will be inserted into the upgrade orchestration
after core slaves has completed. This action will be marked "COMPLETED" automatically if there
are no failures detected. In the event of 1 or more failures, this action will transition
into the HOLDING state. 

Each of the failures will be displayed in the SKIPPED_FAILED state along with their host name,
standard output and standard error. The only option presented to the user in this state should
be to ignore and proceed which would mark the summary task as COMPLETED. 

Example Summary:
  "href": "http://localhost:8080/api/v1/clusters/c1/upgrades/12/upgrade_groups/4/upgrade_items/11/tasks/215",
  "Tasks": {
    "attempt_cnt": 1,
    "cluster_name": "c1",
    "command": "EXECUTE",
    "command_detail": "Verifying Skipped Failures",
    "custom_command_name": "org.apache.ambari.server.serveraction.upgrades.AutoSkipFailedSummaryAction",
    "end_time": -1,
    "error_log": "errors-215.txt",
    "exit_code": 0,
    "host_name": null,
    "id": 215,
    "output_log": "output-215.txt",
    "request_id": 12,
    "stage_id": 11,
    "start_time": 1441907533753,
    "status": "HOLDING",
    "stderr": "The following steps failed and were automatically skipped:\nZOOKEEPER_CLIENT
    "stdout": "There were 1 skipped failure(s) that must be addressed before you can proceed.
Please resolve each failure before continuing with the upgrade.",
    "structured_out": {
      "": {
        "error_log": "/var/lib/ambari-agent/data/errors-214.txt",
        "exit_code": 1,
        "id": 214,
        "output_log": "/var/lib/ambari-agent/data/output-214.txt",
        "stderr": "some stderr",
        "stdout": "some stdout"

This message was sent by Atlassian JIRA

View raw message