[
https://issues.apache.org/jira/browse/AMBARI-15602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216576#comment-15216576
]
Hudson commented on AMBARI-15602:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #4556 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4556/])
AMBARI-15602 - Database Changes to Support Alert Repeat Tolerance (jhurley:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e09ae1c6eb466bdfe742137fa33012b315f1bad1])
* ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
*
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
> Database Changes to Support Alert Repeat Tolerance
> --------------------------------------------------
>
> Key: AMBARI-15602
> URL: https://issues.apache.org/jira/browse/AMBARI-15602
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.4.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-15602.patch
>
>
> The {{alert_definition}} table will be updated to include a nullable column
> which represents the custom repeat/retry tolerance value. This value will
> override that which is set in the {{cluster-env/alerts_repeat_tolerance}}
> property.
> {code}
> CREATE TABLE alert_definition (
> definition_id BIGINT NOT NULL,
> cluster_id BIGINT NOT NULL,
> ...
> repeat_tolerance SMALLINT,
> repeat_tolerance_enabled TINYINT,
> ...
> PRIMARY KEY (definition_id),
> FOREIGN KEY (cluster_id) REFERENCES clusters(cluster_id),
> CONSTRAINT uni_alert_def_name UNIQUE(cluster_id,definition_name)
> );
> {code}
> The scope of work includes:
> - SQL File changes
> - Entity changes
> - ResourceProvider changes to expose these values
> - UpgradeCatalog changes
> - Tests
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)