OOZIE-2851 spelling mistakes in examples (Artem Ervits via gezapeti)
Project: http://git-wip-us.apache.org/repos/asf/oozie/repo Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/59a8b407 Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/59a8b407 Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/59a8b407 Branch: refs/heads/oya Commit: 59a8b407da93784f38266515e2e1e06d249e8a40 Parents: 8df784b Author: Gezapeti Cseh <[email protected]> Authored: Fri Apr 21 12:11:50 2017 +0200 Committer: Gezapeti Cseh <[email protected]> Committed: Fri Apr 21 12:11:50 2017 +0200 ---------------------------------------------------------------------- docs/src/site/twiki/DG_Examples.twiki | 10 +++++----- release-log.txt | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oozie/blob/59a8b407/docs/src/site/twiki/DG_Examples.twiki ---------------------------------------------------------------------- diff --git a/docs/src/site/twiki/DG_Examples.twiki b/docs/src/site/twiki/DG_Examples.twiki index a49c222..87cac48 100644 --- a/docs/src/site/twiki/DG_Examples.twiki +++ b/docs/src/site/twiki/DG_Examples.twiki @@ -131,13 +131,13 @@ import java.util.Properties; ---++ Local Oozie Example -Oozie provides a embedded Oozie implementation, =[[./apidocs/org/apache/oozie/local/LocalOozie.html][LocalOozie]]=, +Oozie provides an embedded Oozie implementation, =[[./apidocs/org/apache/oozie/local/LocalOozie.html][LocalOozie]]=, which is useful for development, debugging and testing of workflow applications within the convenience of an IDE. -The code snipped below shows the usage of the =LocalOozie= class. All the interaction with Oozie is done using Oozie +The code snippet below shows the usage of the =LocalOozie= class. All the interaction with Oozie is done using Oozie =OozieClient= Java API, as shown in the previous section. -The examples bundled with Oozie include the complete and running class, =LocalOozieExample= from where this snipped was +The examples bundled with Oozie include the complete and running class, =LocalOozieExample= from where this snippet was taken. <verbatim> @@ -169,14 +169,14 @@ import java.util.Properties; System.out.println("Workflow job submitted"); . // wait until the workflow job finishes printing the status every 10 seconds - while (wc.getJobInfo(jobId).getStatus() == Workflow.Status.RUNNING) { + while (wc.getJobInfo(jobId).getStatus() == WorkflowJob.Status.RUNNING) { System.out.println("Workflow job running ..."); Thread.sleep(10 * 1000); } . // print the final status of the workflow job System.out.println("Workflow job completed ..."); - System.out.println(wf.getJobInfo(jobId)); + System.out.println(wc.getJobInfo(jobId)); . // stop local Oozie LocalOozie.stop(); http://git-wip-us.apache.org/repos/asf/oozie/blob/59a8b407/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index bd37dca..38762bd 100644 --- a/release-log.txt +++ b/release-log.txt @@ -1,5 +1,6 @@ -- Oozie 4.4.0 release (trunk - unreleased) +OOZIE-2851 spelling mistakes in examples (Artem Ervits via gezapeti) OOZIE-2863 SLACalculatorMemory.loadOnRestart causing delay in server start (puru via satishsaley) OOZIE-2843 Enhance logging inside ZKLocksService and MemoryLocksService (andras.piros via pbacsko) OOZIE-2818 Can't overwrite oozie.action.max.output.data on a per-workflow basis (asasvari via pbacsko)
