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

Capture output in JSON format

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0.0
    • None
    • action
    • None

    Description

      Today the user can specify to capture output of Oozie actions, and reuse that in EL expressions in consecutive actions of the same workflow.

      As per Oozie workflow functional specification:

      The capture-output element can be used to propagate values back into Oozie context, which can then be accessed via EL-functions. This needs to be written out as a java properties format file. The filename is obtained via a System property specified by the constant oozie.action.output.properties.

      Let the output happen in following formats:

      1. first and foremost, java.util.Properties format
      2. if output is not parseable, fall back to JSON parsing
      3. if output is not parseable, throw an Exception like before

      Attachments

        Activity

          People

            Unassigned Unassigned
            andras.piros Andras Piros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: