Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apache Oozie Essentials

You're reading from  Apache Oozie Essentials

Product type Book
Published in Dec 2015
Publisher
ISBN-13 9781785880384
Pages 164 pages
Edition 1st Edition
Languages
Author (1):
Jagat Singh Jagat Singh
Profile icon Jagat Singh

Types of nodes


Workflow is composed of nodes; the logical DAG of nodes represents what part of the work is done by Oozie. Each node does a specified work and on success moves to one node or moves to another node on failure. For example, on success it goes to the OK node and on failure it goes to the Kill node.

Nodes in the Oozie Workflow are of the following types:

  • Control flow nodes

  • Action nodes

Let's discuss them in detail.

Control flow nodes

These nodes are responsible for defining start, end, and control flow of what to do inside the Workflow. These can be one of following:

  • Start node

  • End node

  • Kill node

  • Decision node

  • Fork and Join node

You have already seen the examples of the Start, End, and Kill nodes. In the context of programming, we can say that Decision nodes represent the switch or if else conditions. Fork and Join nodes represent the parallel branches of code.

Let's see a sample syntax for Decision and Fork/Join nodes next.

Here's the general syntax for a Decision node:

<workflow-app name...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}