Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
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

Table of Contents (23) Chapters

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

Erasure encoding in Hadoop 3.x


HDFS achieves fault-tolerance by replicating each block three times by default. However, in big clusters, the replication factor can be more. The purpose of replication is to handle data loss against machine failure, providing data locality for the MapReduce job, and so on. The replication takes more storage space, which means that if our replication factor is three, HDFS will take an extra 200% space to store file. In short, storing 1 GB of data will require 3 GB of memory. This also causes metadata memory on NameNode.

HDFS introduced erasure coding (EC) for storing data by taking less storage space. Now, data is labelled based on their usage access pattern, and after the conditions for erasure coding have been satisfied, data will be applicable for erasure coding. The term Data Temperature is used to identify the data usage pattern. The different types of data are as follows:

  • Hot data: By default, all data is considered HOT. Data that is accessed more than...
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}