ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <>
Subject [jira] [Created] (AMBARI-15330) Bubble up errors during RU/EU
Date Tue, 08 Mar 2016 02:04:40 GMT
Alejandro Fernandez created AMBARI-15330:

             Summary: Bubble up errors during RU/EU
                 Key: AMBARI-15330
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
             Fix For: 2.4.0

During RU/EU, need a way to bubble up an error of the current item that failed. This is useful
to quickly get a human-readable error that others UIs can quickly retrieve.
It can print a human-readable error, plus stdout and stderr.

This would become part of the upgrade endpoint. e.g,
attempt_cnt: 1,
cluster_name: "c1",
request_id: 1,
fail_reason: "Failed calling RESTART ZOOKEEPER/ZOOKEEPER_SERVER on host",

// Notice that the rest are inherited from the failed task if it exists.
command: "CUSTOM_COMMAND",
custom_command_name: "RESTART",
end_time: -1,
error_log: "/var/lib/ambari-agent/data/errors-1234.txt",
exit_code: 1,
host_name: "",
id: 1234,
output_log: "/var/lib/ambari-agent/data/output-1234.txt",
stage_id: 1,
start_time: 123456789,
stdout: "",
stderr: ""

This message was sent by Atlassian JIRA

View raw message