[
https://issues.apache.org/jira/browse/OOZIE-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artem Ervits updated OOZIE-2851:
--------------------------------
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
{code}
wc.getJobInfo(jobId).getStatus() == Workflow.Status.RUNNING</code>
{code}
should say
{code}
wc.getJobInfo(jobId).getStatus() == WorkflowJob.Status.RUNNING</code>
{code}
and
{code}
System.out.println(wf.getJobInfo(jobId));
{code}
should say
{code}
System.out.println(wc.getJobInfo(jobId));
{code}
was:
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
{code}
wc.getJobInfo(jobId).getStatus() == Workflow.Status.RUNNING</code>
{code}
should say
{code}
wc.getJobInfo(jobId).getStatus() == WorkflowJob.Status.RUNNING</code>
{code}
and
{code}
System.out.println(wf.getJobInfo(jobId));
{code}
should say
{code:title=Bar.java|borderStyle=solid}
System.out.println(wc.getJobInfo(jobId));
{code}
> spelling mistakes in examples
> -----------------------------
>
> Key: OOZIE-2851
> URL: https://issues.apache.org/jira/browse/OOZIE-2851
> Project: Oozie
> Issue Type: Improvement
> Components: docs
> Affects Versions: 4.3.0
> Reporter: Artem Ervits
> Priority: Trivial
> Labels: trivial
> Fix For: trunk
>
> Attachments: OOZIE-2851-0.patch
>
>
> 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
> {code}
> wc.getJobInfo(jobId).getStatus() == Workflow.Status.RUNNING</code>
> {code}
> should say
> {code}
> wc.getJobInfo(jobId).getStatus() == WorkflowJob.Status.RUNNING</code>
> {code}
> and
> {code}
> System.out.println(wf.getJobInfo(jobId));
> {code}
> should say
> {code}
> System.out.println(wc.getJobInfo(jobId));
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)