[
https://issues.apache.org/jira/browse/OOZIE-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eva Andreasson updated OOZIE-2283:
----------------------------------
Attachment: OOZIE-2283-002.patch
I think I fixed the line length issue. BTW - Any tips on what is the easiest
way to look at .twiki files and validate the layout and formatting (locally)?
> Documentation should not say that System.exit is not allowed in Java Action
> ---------------------------------------------------------------------------
>
> Key: OOZIE-2283
> URL: https://issues.apache.org/jira/browse/OOZIE-2283
> Project: Oozie
> Issue Type: Sub-task
> Components: docs
> Affects Versions: 3.3.2
> Reporter: Robert Kanter
> Assignee: Eva Andreasson
> Fix For: trunk
>
> Attachments: OOZIE-2283-002.patch, OOZIE-2283.001.patch
>
>
> The Java Action docs say:
> {quote}
> The main Java class must not call System.exit(int n) as this will make the
> java action to do an error transition regardless of the used exit code.
> {quote}
> http://oozie.apache.org/docs/4.2.0/WorkflowFunctionalSpec.html#a3.2.7_Java_Action
> This has not been true for quite some time. Oozie counts {{System.exit(0)}}
> as OK and non-zero values as the ERROR transition.
> https://github.com/apache/oozie/blob/master/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/LauncherMapper.java#L259
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)