Reader small image

You're reading from  Apache Oozie Essentials

Product typeBook
Published inDec 2015
Reading LevelIntermediate
Publisher
ISBN-139781785880384
Edition1st Edition
Languages
Right arrow
Author (1)
Jagat Singh
Jagat Singh
author image
Jagat Singh

Contacted on 12/01/18 by Davis Anto
Read more about Jagat Singh

Right arrow

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:

Oozie MapReduce command line

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 used the command-line Oozie job option with the job.properties file to run the same.

Let's move on to the next topic of Coordinators.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Apache Oozie Essentials
Published in: Dec 2015Publisher: ISBN-13: 9781785880384

Author (1)

author image
Jagat Singh

Contacted on 12/01/18 by Davis Anto
Read more about Jagat Singh