Description
The code snipped 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 taken.
should say snippet
also
wc.getJobInfo(jobId).getStatus() == Workflow.Status.RUNNING</code>
should say
wc.getJobInfo(jobId).getStatus() == WorkflowJob.Status.RUNNING</code>
and
System.out.println(wf.getJobInfo(jobId));
should say
System.out.println(wc.getJobInfo(jobId));