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

Robert Kanter commented on OOZIE-2283:
--------------------------------------

Can you split the line into two lines?  It's currently more than 132 
characters, which is what we use as the max line length (other than certain 
exceptions).  The twiki formatting will still generate a page with one line as 
long as there's no empty lines between the two lines.

> 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.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)

Reply via email to