[
https://issues.apache.org/jira/browse/OOZIE-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13573617#comment-13573617
]
Rohini Palaniswamy commented on OOZIE-1209:
-------------------------------------------
First a little more background on this jira feature :).
Requirements:
We need to capture different events (For eg: workflow job
started/success/fail, coordinator action waiting/started/success/fail) in the
Oozie system and send out notifications through JMS for those events which can
be consumed to build custom monitoring systems.
Design:
* We will have a general event handling system (EventHandlerService) that
will handle events and call the configured EventListener implementations.
* EventHandlerService
* It will handle events generated in different commands. This requires
different commands to call the EventHandlerService with events. For eg:
CoordActionTimeoutCommand will call EventHandlerService with a timeout event.
* It will pass on those events to registered EventListeners. If there
are no EventListeners registered, the events will be ignored or we can add
logic in commands to not generate events if there are no event listeners
similar to LOG.isDebugEnabled() optimization.
* We do not want event handling to interfere with the core functioning
of oozie. So the events will first be queued and then be processed by a
configurable number of threads which will call the event listeners with the
event. The con of having asynchronous event processing is that you cannot do
pre/post event handling that affects core functioning. If required, we can add
synchronous event processing in future.
* Sending JMS notifications will be a EventListener implementation. This
makes it extensible, and there can be future implementations of different
listeners for different purposes.
> Job Notifications to enable better monitoring
> ---------------------------------------------
>
> Key: OOZIE-1209
> URL: https://issues.apache.org/jira/browse/OOZIE-1209
> Project: Oozie
> Issue Type: New Feature
> Affects Versions: trunk
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Fix For: trunk
>
> Attachments: JobNotificationsClassDiagram-draft.jpg
>
> Original Estimate: 672h
> Remaining Estimate: 672h
>
> Oozie will publish notifications for the different types of jobs - workflows
> and coordinators, for monitoring purposes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira