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 2014/11/12 00:53:33 UTC

[jira] [Commented] (AMBARI-8289) Alerts: Provide Grouped Summary Structure On Alerts Endpoint

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

Hadoop QA commented on AMBARI-8289:
-----------------------------------

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

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/611//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/611//console

This message is automatically generated.

> Alerts: Provide Grouped Summary Structure On Alerts Endpoint
> ------------------------------------------------------------
>
>                 Key: AMBARI-8289
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8289
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8289.patch
>
>
> Add ability to get summary info about alerts grouped by {{alert_definition_name}}.
> {code}
> http://localhost:8080/api/v1/clusters/c1/alerts?format=groupedSummary
> {
>   "alerts_summary_grouped" : [
>     {
>       "definition_id" : 1,
>       "definition_name" : "datanode_process",
>       "summary" : {
>         "CRITICAL": {
>           "count": 1,
>           "original_timestamp": 1415372992337
>         },
>         "OK": {
>           "count": 1,
>           "original_timestamp": 1415372992337
>         },
>         "UNKNOWN": {
>           "count": 0,
>           "original_timestamp": 0
>         },
>        "WARN": {
>          "count": 0,
>          "original_timestamp": 0
>         }
>       }
>     },
>     {
>       "definition_id" : 2,
>       "definition_name" : "namenode_process",
>       "summary" : {
>         "CRITICAL": {
>           "count": 1,
>           "original_timestamp": 1415372992337
>         },
>         "OK": {
>           "count": 1,
>           "original_timestamp": 1415372992337
>         },
>         "UNKNOWN": {
>           "count": 0,
>           "original_timestamp": 0
>         },
>        "WARN": {
>          "count": 0,
>          "original_timestamp": 0
>         }
>       }
>     }    
>   ]
> }
> {code}



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