public class OozieOperationsImpl extends Object implements OozieOperations
| Constructor and Description |
|---|
OozieOperationsImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.oozie.client.WorkflowJob |
getJobInfo(org.apache.oozie.client.OozieClient oozieClient,
String jobId)
Gets the ozie workflow job info.
|
List<org.apache.oozie.client.WorkflowJob> |
getJobsInfo(org.apache.oozie.client.OozieClient oozieClient,
String filter,
int start,
int len)
Gets the oozie jobs.
|
String |
runOozieWorkflow(org.apache.oozie.client.OozieClient oozieClient,
Properties conf)
Runs the ozie workflow.
|
public String runOozieWorkflow(org.apache.oozie.client.OozieClient oozieClient, Properties conf) throws org.apache.oozie.client.OozieClientException
OozieOperationsrunOozieWorkflow in interface OozieOperationsoozieClient - the oozie clientconf - the configuraton properties.org.apache.oozie.client.OozieClientExceptionpublic org.apache.oozie.client.WorkflowJob getJobInfo(org.apache.oozie.client.OozieClient oozieClient,
String jobId)
throws org.apache.oozie.client.OozieClientException
OozieOperationsgetJobInfo in interface OozieOperationsoozieClient - the oozie clientjobId - the oozie workflow job id.org.apache.oozie.client.OozieClientExceptionpublic List<org.apache.oozie.client.WorkflowJob> getJobsInfo(org.apache.oozie.client.OozieClient oozieClient, String filter, int start, int len) throws org.apache.oozie.client.OozieClientException
OozieOperationsgetJobsInfo in interface OozieOperationsoozieClient - the oozie clientfilter - job filter. Refer to the OozieClient for the filter syntax.start - jobs offset, base 1.len - number of jobs to return.org.apache.oozie.client.OozieClientException - if any problems were encountered.Copyright © 2017. All rights reserved.