Search icon CANCEL
Subscription
0
Cart icon
Cart
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
Arrow up icon
GO TO TOP
Mastering Hadoop 3

You're reading from  Mastering Hadoop 3

Product type Book
Published in Feb 2019
Publisher Packt
ISBN-13 9781788620444
Pages 544 pages
Edition 1st Edition
Languages
Authors (2):
Chanchal Singh Chanchal Singh
Profile icon Chanchal Singh
Manish Kumar Manish Kumar
Profile icon Manish Kumar
View More author details
Toc

Table of Contents (23) Chapters close

Title Page
Dedication
About Packt
Foreword
Contributors
Preface
1. Journey to Hadoop 3 2. Deep Dive into the Hadoop Distributed File System 3. YARN Resource Management in Hadoop 4. Internals of MapReduce 5. SQL on Hadoop 6. Real-Time Processing Engines 7. Widely Used Hadoop Ecosystem Components 8. Designing Applications in Hadoop 9. Real-Time Stream Processing in Hadoop 10. Machine Learning in Hadoop 11. Hadoop in the Cloud 12. Hadoop Cluster Profiling 13. Who Can Do What in Hadoop 14. Network and Data Security 15. Monitoring Hadoop 1. Other Books You May Enjoy Index

Deep dive into the Hadoop MapReduce framework


The story of Hadoop started with HDFS and MapReduce. Hadoop version 1 has the basic features for storing and processing data over a distributed platform and since then it has evolved a lot. Hadoop version 2 added major changes, such as NameNode, high availability, and a new resource management framework called YARN. However, the high-level flow for MapReduce processing did not change despite various changes in its API. 

MapReduce consists of two major steps: map and reduce, and multiple minor steps that are part of the process flow from map to reduce tasks. The mappers are responsible for performing map tasks while reducers are responsible for the reduce tasks. The job of the mapper is to process the blocks stored on HDFS, like the distributed storage system. Let's us look at the following MapReduce flow diagram:

We will understand the processing flow as follows:

  • InputFileFormat: The MapReduce process starts with reading the file stored on HDFS...
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 ₹800/month. Cancel anytime