Updated on 2022-08-16 GMT+08:00

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.