You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Cseh (JIRA)" <ji...@apache.org> on 2018/05/09 13:23:00 UTC

[jira] [Commented] (OOZIE-3248) Capture output in JSON format

    [ https://issues.apache.org/jira/browse/OOZIE-3248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468830#comment-16468830 ] 

Peter Cseh commented on OOZIE-3248:
-----------------------------------

The problem is that the properties format parsing is quite generous and rarely throws exceptions. It usually parses something that is sometimes not correct. 
See the mail on users@ [a couple days ago|http://mail-archives.apache.org/mod_mbox/oozie-user/201805.mbox/%3CCA%2BCA-8sNqgdDWe0CEvvDZME5wE%3DmX81%3D6r-r7Z0fP0r0jJ1g-Q%40mail.gmail.com%3E]

> Capture output in JSON format
> -----------------------------
>
>                 Key: OOZIE-3248
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3248
>             Project: Oozie
>          Issue Type: New Feature
>          Components: action
>    Affects Versions: 5.0.0
>            Reporter: Andras Piros
>            Priority: Major
>
> 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*|https://oozie.apache.org/docs/5.0.0/WorkflowFunctionalSpec.html]:
> {quote}
> 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}}.
> {quote}
> Let the output happen in following formats:
> # first and foremost, {{java.util.Properties}} format
> # if output is not parseable, fall back to JSON parsing
> # if output is not parseable, throw an {{Exception}} like before



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)