[
https://issues.apache.org/jira/browse/OOZIE-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334780#comment-15334780
]
Robert Kanter commented on OOZIE-2507:
--------------------------------------
One last thing:
# In {{TestMetricsInstrumentation#tearDown}}, instead of
{code:java}
Services.get().destroy();
{code}
you should do
{code:java}
if (Services.get() != null) {
Services.get().destroy();
}
{code}
Otherwise, if the {{Services}} gets destroyed earlier for some reason, or fails
to initialize in the {{setUp}}, you'll get an NPE here.
> Expose monitoring via JMX beans in Oozie
> ----------------------------------------
>
> Key: OOZIE-2507
> URL: https://issues.apache.org/jira/browse/OOZIE-2507
> Project: Oozie
> Issue Type: Improvement
> Components: monitoring
> Affects Versions: trunk
> Reporter: Ferenc Denes
> Assignee: Ferenc Denes
> Priority: Minor
> Fix For: 4.1.0
>
> Attachments: OOZIE-2507-4.patch, OOZIE-2507-6.patch,
> OOZIE-2507-7.patch
>
>
> We should please extend oozie to allow monitoring via JMX beans with Zabbix,
> similar to other apps like Jconsole, Nagios, IBM Tivoli, HP OpenVIew, etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)