-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41260/
-----------------------------------------------------------
(Updated Дек. 11, 2015, 6:07 п.п.)
Review request for Ambari, Jonathan Hurley and Myroslav Papirkovskyy.
Bugs: AMBARI-14344
https://issues.apache.org/jira/browse/AMBARI-14344
Repository: ambari
Description
-------
Log messages
- 11 Dec 2015 15:50:26,590 WARN [alert-event-bus-1] AlertReceivedListener:138
- Received an alert for ambari_agent_disk_usage which is a definition that does
not exist anymore
- Exception:
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services -
2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException:
ORA-00001: unique constraint (AMBARICUSTOMUSER.UNI_ALERT_DEF_NAME) violated
Error Code: 1
Call: INSERT INTO alert_definition (definition_id, cluster_id, component_name,
definition_name, description, ENABLED, HASH, ignore_host, label,
schedule_interval, scope, service_name, alert_source, source_type) VALUES (?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertHostListener.java
659d215
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java
16f62e3
Diff: https://reviews.apache.org/r/41260/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen