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

Hadoop QA commented on AMBARI-15604:
------------------------------------

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

    {color:red}-1 patch{color}.  Top-level trunk compilation may be broken.

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

This message is automatically generated.

> Alert Definitions Repeat Tolerance Values Exposed In Web Client
> ---------------------------------------------------------------
>
>                 Key: AMBARI-15604
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15604
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Zhe (Joe) Wang
>            Assignee: Zhe (Joe) Wang
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15604.v0.patch, AMBARI-15604.v1.patch
>
>
> Alert definitions will now expose two properties to control repeat tolerance 
> values on an individual based (overriding those from 
> {{cluster-env/alerts_repeat_tolerance}}
> {code}
> GET api/v1/clusters/<cluster>/alert_definition/<id>
>   "AlertDefinition" : {
>     "cluster_name" : "c1",
>     "component_name" : "RESOURCEMANAGER",
>     "enabled" : true,
>     "interval" : 1,
>     "label" : "Demo YARN RM Address",
>     "name" : "demo_yarn_rm_address",
>     "scope" : "ANY",
>     "service_name" : "YARN",
>     "repeat_tolerance" : 1,
>     "repeat_tolerance_enabled" : false
>                   ...
>  }
> {code}
> {code}
> PUT api/v1/clusters/<cluster>/alert_definition/<id>
>   "AlertDefinition" : {
>     ...
>     "repeat_tolerance" : 5,
>     "repeat_tolerance_enabled" : true
>                   ...
>   }
> If the overridden global repeat tolerance value is to be removed, then the 
> alert should be updated to indicate that the customized value is ignored:
>   "AlertDefinition" : {
>     ...
>     "repeat_tolerance_enabled" : false
>                   ...
>   }
> {code}



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

Reply via email to