Running Oozie MapReduce job
Oozie has a command-line functionality to submit a job, which has just a MapReduce action. The command-line option that we saw in the previous action can be used anywhere when we have a Workflow or Coordinator with complex DAG.
To run Oozie job, which is just a simple MapReduce, we can use the command options shown in the following screenshot:
Here's an example:
oozie mapreduce -config job.properties -oozie http://localhost:11000/oozie
Tip
We can also choose to pass on variables such as input
and output
from the command line.
In this section, we made our Workflow using the MapReduce action and ...
Get Apache Oozie Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.