You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/01/06 05:17:34 UTC

[jira] [Commented] (AMBARI-8998) Alert-instance grouped summary should include summary text

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

Hadoop QA commented on AMBARI-8998:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12690248/AMBARI-8998.patch
  against trunk revision .

    {color:red}-1 patch{color}.  Trunk compilation may be broken.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1178//console

This message is automatically generated.

> Alert-instance grouped summary should include summary text
> ----------------------------------------------------------
>
>                 Key: AMBARI-8998
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8998
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8998.patch
>
>
> On the service summary page we show alert-definitions. For alert-definitions with 1 instance, we want to show the instance text. To support this, the alert-instance grouped summary call should provide an extra field called {{latest_text}} which provides the single instance text value. If there are 2 or more instances, then this field is not provided.
> For instance a call to {code}http://server:8080/api/v1/clusters/c1/alerts?format=groupedSummary{code} should generate the extra field
> {code}
> {
>   "href" : "http://sri-1:8080/api/v1/clusters/c1/alerts?format=groupedSummary&_=1420506715812",
>   "alerts_summary_grouped" : [
>     {
>       "definition_id" : 13,
>       "definition_name" : "yarn_resourcemanager_webui",
>       "summary" : {
>         "OK" : {
>           "count" : 1,
>           "original_timestamp" : 1420487730165,
>           "maintenance_count" : 0,
>           "latest_text": "Everything OK"
>         },
>         "WARNING" : {
>           "count" : 0,
>           "original_timestamp" : 0,
>           "maintenance_count" : 0
>         },
>         "CRITICAL" : {
>           "count" : 1,
>           "original_timestamp" : 0,
>           "maintenance_count" : 0,
>           "latest_text": "Unable to reach RM"
>         },
>         "UNKNOWN" : {
>           "count" : 4,
>           "original_timestamp" : 0,
>           "maintenance_count" : 0
>         }
>       }
>     },
> {code}



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