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

Rerun


Life is not perfect! Every day we have to face failures and same is with Oozie running in production. Jobs fail and we need to rerun them.

Oozie provides a functionality to restart the jobs from intermediate states to save time:

  • To rerun a Coordinator, we need to tell about the action which has failed or the date for which we need to rerun

  • To rerun a Bundle, we need to tell about Coordinator which has failed

Rerun Workflow

To rerun a Workflow that has failed, we have two nodes:

  • oozie.wf.rerun.skip.nodes

  • oozie.wf.rerun.failnodes

oozie.wf.rerun.skip.nodes is the list of nodes to skip, while oozie.wf.rerun.failnodes is a Boolean value that tells if Oozie should run only the failed nodes.

Here's an example of Workflow rerun:

oozie job -rerun 0000003-150921003038748-oozie-oozi-W -Doozie.wf.rerun.failnodes=true

In the preceding example, we passed on the ID of Workflow to rerun.

Rerun Coordinator

To rerun a Coordinator that has failed, we need to tell about the actions to rerun or tell about the...

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