Myroslav Papirkovskyi created AMBARI-22289: ----------------------------------------------
Summary: Alert definition update event creation was failed with AmbariException on alert definition registration Key: AMBARI-22289 URL: https://issues.apache.org/jira/browse/AMBARI-22289 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 3.0.0 Reporter: Myroslav Papirkovskyi Assignee: Myroslav Papirkovskyi Priority: Critical Fix For: 3.0.0 During cluster deploy numerous exceptions were posted in server logs: {code} org.apache.ambari.server.AmbariException: Unknown clusters in update at org.apache.ambari.server.agent.stomp.AlertDefinitionsHolder.handleUpdate(AlertDefinitionsHolder.java:105) at org.apache.ambari.server.agent.stomp.AlertDefinitionsHolder.handleUpdate(AlertDefinitionsHolder.java:53) at org.apache.ambari.server.agent.stomp.AgentHostDataHolder.updateData(AgentHostDataHolder.java:69) at org.apache.ambari.server.agent.stomp.AlertDefinitionsHolder.safelyUpdateData(AlertDefinitionsHolder.java:191) at org.apache.ambari.server.agent.stomp.AlertDefinitionsHolder.handleSingleDefinitionChange(AlertDefinitionsHolder.java:212) at org.apache.ambari.server.agent.stomp.AlertDefinitionsHolder.onAlertDefinitionRegistered(AlertDefinitionsHolder.java:132) at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34) at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} This was caused by an attempt to update non-existent AlertCluster in AlertDefinitionsHolder. -- This message was sent by Atlassian JIRA (v6.4.14#64029)