Repository: oozie Updated Branches: refs/heads/master bda196b60 -> 4da8009bb
OOZIE-2283 Documentation should not say that System.exit is not allowed in Java Action (eeeva via rkanter) Project: http://git-wip-us.apache.org/repos/asf/oozie/repo Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/4da8009b Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/4da8009b Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/4da8009b Branch: refs/heads/master Commit: 4da8009bb6bb52eb474a0b9aa442fd89f5513f57 Parents: bda196b Author: Robert Kanter <[email protected]> Authored: Thu Feb 25 14:45:36 2016 -0800 Committer: Robert Kanter <[email protected]> Committed: Thu Feb 25 14:45:36 2016 -0800 ---------------------------------------------------------------------- docs/src/site/twiki/WorkflowFunctionalSpec.twiki | 7 +++++-- release-log.txt | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oozie/blob/4da8009b/docs/src/site/twiki/WorkflowFunctionalSpec.twiki ---------------------------------------------------------------------- diff --git a/docs/src/site/twiki/WorkflowFunctionalSpec.twiki b/docs/src/site/twiki/WorkflowFunctionalSpec.twiki index f9ddbb5..e7ac50d 100644 --- a/docs/src/site/twiki/WorkflowFunctionalSpec.twiki +++ b/docs/src/site/twiki/WorkflowFunctionalSpec.twiki @@ -15,6 +15,9 @@ Map/Reduce and Pig jobs. ---++ Changelog +---+++!! 2016FEB19 + + * #3.2.7 Updated notes on System.exit(int n) behavior ---+++!! 2015APR29 * #3.2.1.4 Added notes about Java action retries @@ -1439,8 +1442,8 @@ To indicate an =ok= action transition, the main Java class must complete gracefu To indicate an =error= action transition, the main Java class must throw an exception. -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. +The main Java class can call =System.exit(int n)=. Exit code zero is regarded as OK, while non-zero exit codes will +cause the =java= action to do an =error= transition and exit. A =java= action can be configured to perform HDFS files/directories cleanup or HCatalog partitions cleanup before starting the Java application. This capability enables Oozie to retry a Java application in the situation of a transient http://git-wip-us.apache.org/repos/asf/oozie/blob/4da8009b/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index e45aa73..da4c97c 100644 --- a/release-log.txt +++ b/release-log.txt @@ -1,5 +1,6 @@ -- Oozie 4.3.0 release (trunk - unreleased) +OOZIE-2283 Documentation should not say that System.exit is not allowed in Java Action (eeeva via rkanter) OOZIE-2400 Workflow xml configuration parser cannot deal with namespace prefix (lars_francke via rkanter) OOZIE-2452 Coordinator Functional Specification - EL Constants Typo (markgreene via puru) OOZIE-2173 DISCLAIMER.txt still refers to Apache Incubator (eeeva via rkanter)
