Book Image

Apache Oozie Essentials

By : Jagat Singh
Book Image

Apache Oozie Essentials

By: Jagat Singh

Overview of this book

As more and more organizations are discovering the use of big data analytics, interest in platforms that provide storage, computation, and analytic capabilities is booming exponentially. This calls for data management. Hadoop caters to this need. Oozie fulfils this necessity for a scheduler for a Hadoop job by acting as a cron to better analyze data. Apache Oozie Essentials starts off with the basics right from installing and configuring Oozie from source code on your Hadoop cluster to managing your complex clusters. You will learn how to create data ingestion and machine learning workflows. This book is sprinkled with the examples and exercises to help you take your big data learning to the next level. You will discover how to write workflows to run your MapReduce, Pig ,Hive, and Sqoop scripts and schedule them to run at a specific time or for a specific business requirement using a coordinator. This book has engaging real-life exercises and examples to get you in the thick of things. Lastly, you’ll get a grip of how to embed Spark jobs, which can be used to run your machine learning models on Hadoop. By the end of the book, you will have a good knowledge of Apache Oozie. You will be capable of using Oozie to handle large Hadoop workflows and even improve the availability of your Hadoop environment.
Table of Contents (16 chapters)
Apache Oozie Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Oozie web console


Oozie web console is a web-based tool that gives a read-only view about the jobs.

In your web browser, open the URL http://127.0.0.1:11000/oozie, as shown in the following screenshot:

Oozie web console

At the top of the screen, we have following tabs:

  • Workflows

  • Coordinators

  • Bundles

  • System Info

  • Instrumentation

  • Settings

Click on our job ID My First Oozie Job; you can see we have many other jobs also run. You will have a different view. Click on your job and see that Oozie has divided the jobs as per tasks in the Workflow. Start the Fs action and end were the steps for the Workflow, so each of them is represented in the log.

Click on the last tab that says Job DAG. This shows the flow of the job. Since our job was simple, DAG is just a linear flow. In future jobs, we will see more complex DAG.

The important use of the console is when our job fails. Let's see an example of a job that has not completed successfully. We can click on the required action to see the logs and detailed...