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

Pig Coordinator job v3


The code for this section is available at BOOK_CODE_HOME/learn_oozie/ch05/rainfall/v3.

We have defined all the controls, as shown in lines 4-9 in the following screenshot. The corresponding property file is passing the updated values:

Pig Coordinator v3

The updated job.properties file is as follows:

# Time and schedule details
start_date=2015-01-01T00:00Z
end_date=2015-12-31T00:00Z
frequency=55 23 L * ?
nameNode=hdfs://sandbox.hortonworks.com:8020
# Workflow to run
wf_application_path=hdfs://sandbox.hortonworks.com:8020/user/hue/learn_oozie/ch05/rainfall/v3
# Coordinator to run
oozie.coord.application.path=hdfs://sandbox.hortonworks.com:8020/user/hue/learn_oozie/ch05/rainfall/v3
# Datasets
data_definitions=hdfs://sandbox.hortonworks.com:8020/user/hue/learn_oozie/ch05/rainfall/datasets/datasets.xml
# Controls
timeout=10
concurrency_level=1
execution_order=LAST_ONLY
materialization_throttle=1

Trigger the job using the following command:

oozie job -run job.properties

Not that...

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