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

File formats


Files have been in data processing for decades. A file acts as a persistent storage for data, and programmers have been using files for exchanging or storing data  for a long time now. There are formats associated with each file that tell you how data is being written and read from the file. For example, if we consider the .csv file, we may assume that each record is separated by a line and each column is separated by a delimiter. If the writer does not put data in the specific agreed format, then the reader may read data wrongly or processing logic may break. Each file format has a specific way of storing the data and there are different parameters that can help you decide which file format is best suited for your application. In this section, we will walk you through some of the widely used file formats and their internals. 

Understanding file formats

Before we dive into the details of different big data formats, we need to establish a method that we can use to evaluate when...