[
https://issues.apache.org/jira/browse/AMBARI-15702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227359#comment-15227359
]
Hudson commented on AMBARI-15702:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #4600 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4600/])
AMBARI-15702 - Global Repeat Tolerance Value For Alerts (part2) (jhurley:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7e3b8673bd7a2444f2d7ecf0cb13692d47046bb0])
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
AMBARI-15702 - Global Repeat Tolerance Value For Alerts (part3 (jhurley:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=48e418ee603b3f1cf11bbec9820b829945cd7161])
*
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertReceivedListener.java
*
ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertReceivedListenerTest.java
> Global Repeat Tolerance Value For Alerts
> ----------------------------------------
>
> Key: AMBARI-15702
> URL: https://issues.apache.org/jira/browse/AMBARI-15702
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-15702.patch
>
>
> The global repeat tolerance value for all alert definitions is set on the
> {{cluster-env}} configuration. Unless an alert definition overrides this
> value, it will be used for any definition in the system. By default, this
> value will be set to 1, indicating that there is no retry tolerance and the
> alert state should be taken at face value.
> {code}
> GET api/v1/clusters/<cluster>/configurations?type=cluster-env&tag=<tag>
> "Config": {
> "cluster_name": "c1",
> "stack_id": "HDP-2.4"
> },
> "properties": {
> "command_retry_enabled": "true",
> "command_retry_max_time_in_sec": "600",
> ...
> "alerts_repeat_tolerance" : "1"
> ...
> }
> {code}
> The scope of work must also include
> - Default values if the property does not exist
> - Ambari upgrade work to ensure it's populated with a default value
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)