Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Why is my oozie workflow SLA tab blank?

avatar
Explorer

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

avatar
Explorer

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.

View solution in original post

2 REPLIES 2

avatar
Mentor
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.

avatar
Explorer

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.