Package

org.antipathy.scoozie

sla

Permalink

package sla

Visibility
  1. Public
  2. All

Type Members

  1. trait HasSLA extends Nameable

    Permalink

    Trait for building SLA properties

  2. case class OozieSLA(nominalTime: String, shouldStart: Option[String] = None, shouldEnd: Option[String] = None, maxDuration: Option[String] = None, alertEvents: Seq[SLAAlert] = Seq.empty[SLAAlert], alertContacts: Seq[String] = Seq.empty[String], notificationMsg: Option[String] = None, upstreamApps: Seq[String] = Seq.empty[String], name: String = "_sla") extends XmlSerializable with OozieProperties with Nameable with Product with Serializable

    Permalink

    nominalTime

    This is the time relative to which your jobs' SLAs will be calculated. Generally since Oozie workflows are aligned with synchronous data dependencies, this nominal time can be parameterized to be passed the value of your coordinator nominal time. Nominal time is also required in case of independent workflows and you can specify the time in which you expect the workflow to be run if you don't have a synchronous dataset associated with it.

    shouldStart

    Relative to nominal-time this is the amount of time (along with time-unit - MINUTES, HOURS, DAYS) within which your job should start running to meet SLA. This is optional.

    shouldEnd

    Relative to nominal-time this is the amount of time (along with time-unit - MINUTES, HOURS, DAYS) within which your job should finish to meet SLA.

    maxDuration

    This is the maximum amount of time (along with time-unit - MINUTES, HOURS, DAYS) your job is expected to run. This is optional.

    alertEvents

    Specify the types of events for which Email alerts should be sent. Allowable values in this comma-separated list are start_miss, end_miss and duration_miss. *_met events can generally be deemed low priority and hence email alerting for these is not neccessary. However, note that this setting is only for alerts via email alerts and not via JMS messages, where all events send out notifications, and user can filter them using desired selectors. This is optional and only applicable when alert-contact is configured.

    alertContacts

    Specify a comma separated list of email addresses where you wish your alerts to be sent. This is optional and need not be configured if you just want to view your job SLA history in the UI and do not want to receive email alerts.

    notificationMsg

    The message to use when an SLA has not been met

    upstreamApps

    List of upstream applications affected by SLA being missed.

  3. sealed trait SLAAlert extends Nameable

    Permalink

    base trait for Oozie SLAs

Value Members

  1. object DurationMiss extends SLAAlert with Product with Serializable

    Permalink
  2. object EndMiss extends SLAAlert with Product with Serializable

    Permalink
  3. object OozieSLA extends Serializable

    Permalink
  4. object SLAAlert

    Permalink
  5. object StartMiss extends SLAAlert with Product with Serializable

    Permalink

Ungrouped