Book Image

Learning Apache Flink

By : Tanmay Deshpande
Book Image

Learning Apache Flink

By: Tanmay Deshpande

Overview of this book

<p>With the advent of massive computer systems, organizations in different domains generate large amounts of data on a real-time basis. The latest entrant to big data processing, Apache Flink, is designed to process continuous streams of data at a lightning fast pace.</p> <p>This book will be your definitive guide to batch and stream data processing with Apache Flink. The book begins with introducing the Apache Flink ecosystem, setting it up and using the DataSet and DataStream API for processing batch and streaming datasets. Bringing the power of SQL to Flink, this book will then explore the Table API for querying and manipulating data. In the latter half of the book, readers will get to learn the remaining ecosystem of Apache Flink to achieve complex tasks such as event processing, machine learning, and graph processing. The final part of the book would consist of topics such as scaling Flink solutions, performance optimization and integrating Flink with other tools such as ElasticSearch.</p> <p>Whether you want to dive deeper into Apache Flink, or want to investigate how to get more out of this powerful technology, you’ll find everything you need inside.</p>
Table of Contents (17 chapters)
Learning Apache Flink
About the Author
About the Reviewers
Customer Feedback

Chapter 8. Distributed Data Processing with Flink and Hadoop

Apache Hadoop has become a core and essential part of data processing and analytics infrastructures over the last couple of years. With Hadoop 1.X, the community learnt the distributed data processing using the MapReduce framework, whereas the next version of Hadoop, 2.X taught us the efficient use of resources and scheduling using the YARN framework. The YARN framework is a core part of Hadoop data processing, where it handles complex tasks such as job executions, distribution, resource allocation, scheduling, and so on. It allows for multi-tenancy, scalability, and high availability.

The best part about YARN is that it is not just a framework but more like a complete operating system where developers are free to develop and execute applications of their choice. It gives abstraction by letting developers only focus on application development and forget the pain of data and execution distribution in parallel. YARN sits on top of...