public interface OozieDao
| Modifier and Type | Method and Description |
|---|---|
org.apache.oozie.client.WorkflowJob |
getEmrOozieWorkflow(String masterIpAddress,
String emrOozieWorkflowId)
Gets the oozie workflow job from oozie server.
|
List<org.apache.oozie.client.WorkflowJob> |
getRunningEmrOozieJobsByName(String masterIpAddress,
String appName,
int start,
int len)
Gets the oozie jobs in RUNNING status.
|
String |
runOozieWorkflow(String masterIpAddress,
String workflowLocation,
List<Parameter> parameters) |
String runOozieWorkflow(String masterIpAddress, String workflowLocation, List<Parameter> parameters) throws Exception
masterIpAddress - the IP address of oozie master server.workflowLocation - the location of workflow on S3.parameters - the configuration properties for the workflow.Exceptionorg.apache.oozie.client.WorkflowJob getEmrOozieWorkflow(String masterIpAddress, String emrOozieWorkflowId) throws org.apache.oozie.client.OozieClientException
masterIpAddress - the IP address of oozie master server.emrOozieWorkflowId - the oozie workflow job id.org.apache.oozie.client.OozieClientExceptionList<org.apache.oozie.client.WorkflowJob> getRunningEmrOozieJobsByName(String masterIpAddress, String appName, int start, int len) throws org.apache.oozie.client.OozieClientException
masterIpAddress - the IP address of oozie master server.appName - the workflow job application name, if no application name is provided returns all workflows.start - jobs offset, base 1.len - number of jobs to return.org.apache.oozie.client.OozieClientExceptionCopyright © 2017. All rights reserved.