Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2929

Coordinator SLA should support configuration variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 5.0.0b1
    • coordinator
    • None

    Description

      if coordinator.xml define SLA like this:
      <sla:info>
      <sla:nominal-time>${nominal_time}</sla:nominal-time>
      <sla:should-end>${ 1 * HOURS}</sla:should-end>
      <sla:max-duration>${1 * MINUTES}</sla:max-duration>
      </sla:info>
      In job.properties define: nominal_time=${coord:nominalTime()}

      Then coordinator will run failed for "Coord Job Materialization Error: Could not parse [${coord:nominalTime()}] using [yyyy-MM-dd'T'HH:mm+0800] mask";

      Oozie should support use define a variable for SLA;

      Attachments

        1. OOZIE-2929-002.patch
          5 kB
          Chi Wen
        2. OOZIE-2929-001.patch
          4 kB
          Chi Wen

        Issue Links

          Activity

            People

              chiwen Chi Wen
              chiwen Chi Wen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: