Description
These typical scenarios help you quickly understand the development procedure of Oozie and learn key API functions.
This example shows you how to submit a MapReduce job and query the job status by using the Java API. The sample code relates to the MapReduce job only, but the API invocation codes of other jobs are the same. The difference is that the configuration of job.properties in a job and that of workflow.xml in a workflow is different.
After the operations in Downloading and Importing Sample Projects are complete, you can submit MapReduce jobs and query job status through Java APIs.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.