Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Why is my oozie workflow SLA tab blank?

SOLVED Go to solution

Why is my oozie workflow SLA tab blank?

New Contributor

I created an oozie workflow SLA using Hue. When I submit the workflow, I can see the SLA settings in the definition and the SLA tab appears but the tab is empty except for a back button.

 

Here is my SLA:

<sla:info>
<sla:nominal-time>${nominal_time}</sla:nominal-time>
<sla:should-start>${10 * MINUTES}</sla:should-start>
<sla:should-end>${30 * MINUTES}</sla:should-end>
<sla:max-duration>${30 * MINUTES}</sla:max-duration>
<sla:alert-events>start_miss,end_miss,duration_miss</sla:alert-events>
<sla:alert-contact>myname@mycompany.com</sla:alert-contact>
<sla:notification-msg>[Hadoop] Error while calculating reference measurements</sla:notification-msg>

</sla:info>

 

As well as the page being blank, I receive no email (have previously verified that emails can be sent via oozie actions, so the configuration should be ok) and no SLA appears under the SLA tab in the Dashboard

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Why is my oozie workflow SLA tab blank?

New Contributor

Thanks for the tips.

 

I had missed enabling SLA support in the oozie-site config

 

<property>
  <name>oozie.services.ext</name>
  <value>
    org.apache.oozie.service.EventHandlerService,
    org.apache.oozie.sla.service.SLAService
  </value>
</property>
<property>
  <name>oozie.service.EventHandlerService.event.listeners</name>
  <value>
    org.apache.oozie.sla.listener.SLAJobEventListener,
    org.apache.oozie.sla.listener.SLAEmailEventListener
  </value>
</property>
 
Now, I can see my SLA details in Hue and am looking at ActiveMQ for handling the JMS notificatoins.
2 REPLIES 2
Highlighted

Re: Why is my oozie workflow SLA tab blank?

Master Guru
What version of CDH are you using?

The functionality appears to be a CDH5 feature: http://archive.cloudera.com/cdh5/cdh/5/oozie/DG_SLAMonitoring.html, but is not in CDH4.

Also note that the SLA alerts do not email but rather just publish notifications with the contact field in them. Read more at the above link, and see http://archive.cloudera.com/cdh5/cdh/5/oozie/DG_JMSNotifications.html for JMS based SLA notifications.

Re: Why is my oozie workflow SLA tab blank?

New Contributor

Thanks for the tips.

 

I had missed enabling SLA support in the oozie-site config

 

<property>
  <name>oozie.services.ext</name>
  <value>
    org.apache.oozie.service.EventHandlerService,
    org.apache.oozie.sla.service.SLAService
  </value>
</property>
<property>
  <name>oozie.service.EventHandlerService.event.listeners</name>
  <value>
    org.apache.oozie.sla.listener.SLAJobEventListener,
    org.apache.oozie.sla.listener.SLAEmailEventListener
  </value>
</property>
 
Now, I can see my SLA details in Hue and am looking at ActiveMQ for handling the JMS notificatoins.