Book Image

Mastering Hadoop 3

By : Chanchal Singh, Manish Kumar
Book Image

Mastering Hadoop 3

By: Chanchal Singh, Manish Kumar

Overview of this book

Apache Hadoop is one of the most popular big data solutions for distributed storage and for processing large chunks of data. With Hadoop 3, Apache promises to provide a high-performance, more fault-tolerant, and highly efficient big data processing platform, with a focus on improved scalability and increased efficiency. With this guide, you’ll understand advanced concepts of the Hadoop ecosystem tool. You’ll learn how Hadoop works internally, study advanced concepts of different ecosystem tools, discover solutions to real-world use cases, and understand how to secure your cluster. It will then walk you through HDFS, YARN, MapReduce, and Hadoop 3 concepts. You’ll be able to address common challenges like using Kafka efficiently, designing low latency, reliable message delivery Kafka systems, and handling high data volumes. As you advance, you’ll discover how to address major challenges when building an enterprise-grade messaging system, and how to use different stream processing systems along with Kafka to fulfil your enterprise goals. By the end of this book, you’ll have a complete understanding of how components in the Hadoop ecosystem are effectively integrated to implement a fast and reliable data pipeline, and you’ll be equipped to tackle a range of real-world problems in data pipelines.
Table of Contents (23 chapters)
Title Page
Dedication
About Packt
Foreword
Contributors
Preface
Index

YARN


YARN is a new generation resource manager and plays the role of scheduling and executing the application over the Hadoop cluster. In this section, we will look at how we can run benchmarks against a YARN cluster.

Scheduler Load Simulator (SLS)

Hadoop provides three different kinds of scheduling algorithms in the form of queues. They are called FIFO, Capacity and Fair schedulers. Each of these schedulers takes different factors like available capacity, fairness among different running jobs, and guaranteed resource availability. Now, an important point to decide is what type of queue is suitable for your workload in the production environment. This test helps you decide that. One thing to note here is that the simulator works on prediction. It does not run jobs on the entire cluster. It is always time-consuming and expensive to run it on a very large cluster. Moreover, very few organizations run on a very large cluster. This test predicts how well the queues fit into your workloads. The...