Hadoop in Action cover

Hadoop in Action

Rating 3.9
Word count
417K words
Chapters
13
Series
Turing Programming Series
ISBN
9787115264480

Tags

Summary

This book is the Chinese translation of Hadoop in Action, aimed at programmers, architects, and project managers who need to process massive offline data. It explains the Hadoop framework and MapReduce programming progressively, from the basics to advanced topics. The book is divided into three parts. Part 1 introduces Hadoop's origins, basic concepts, and how to obtain and install a cluster, starting with a simple word-count example to give readers their first impression of the MapReduce computing model. Part 2 delves into the core components of the Hadoop framework, explaining the working principles of the HDFS distributed file system, the execution flow of MapReduce jobs, task scheduling and fault tolerance, and common MapReduce programming patterns and best practices. Part 3 expands the view beyond Hadoop to the wider ecosystem, introducing the Streaming API and higher-level tools such as Pig and Hive that make data processing easier, and discussing how Hadoop is applied in real data analysis tasks. The book is example-driven, with multiple sets of runnable code and small exercises, written in concise, engineering-oriented language. It is suitable as the first systematic book for Hadoop beginners and engineering practice. Because it was written during the Hadoop 1.x era, it does not cover YARN or later ecosystem developments; readers should consult their actual framework versions for comparison.

Editor's review

《Hadoop实战》是图灵程序设计丛书中口碑较好的一本 Hadoop 入门书,它的价值在于“薄”和“实”。全书正文只有两百多页,却把 Hadoop 的由来、HDFS 与 MapReduce 的核心概念、集群怎么搭、作业怎么写讲得清楚明白,再用词频统计这类最朴素的小例子把 MapReduce 的思维一点点敲进脑子里。相比动辄七八百页的大部头,它更适合作为你在动手写第一个 MapReduce 程序之前的那本书。书中对 Streaming API、Pig、Hive 的介绍,也让人第一次意识到 Hadoop 不是孤立的一套框架,而是一个可以层层搭建的数据处理生态。需要说明的是,本书对应的是 Hadoop 0.20/1.x 时代,YARN、Spark 等后来者都没有出现,所以它更像一把“打开大门的钥匙”,而不是一劳永逸的案头手册。如果你是想要快速建立整体认知、并顺带把环境跑起来的技术读者,这本书依然值得一读;如果你想深入研究源码或生产运维,还需要搭配更专门的著作。

Who it's for

A good fit for

  • 需要用 Java 编写 MapReduce 程序、希望快速入门的后端开发者
  • 刚接手机器学习、日志分析等项目、需要搭建离线计算链路的数据工程初学者
  • 负责技术选型、需要理解 Hadoop 生态全貌的架构师和项目经理
  • 高校大数据、分布式计算课程的学生,作为配套实践读物

Not a good fit for

  • 已熟悉 Hadoop 2.x/YARN 与 Spark、寻求进阶源码或调优内容的资深工程师
  • 只关心现代数据湖、流式计算等新技术栈,不打算接触 Hadoop 1.x 的读者
  • 希望零编程基础、纯科普了解大数据概念的普通读者

Reading tips

  1. 边读边动手:先按书中步骤在单机或伪分布式环境把 Hadoop 跑起来,再对照代码逐行验证。
  2. 第一部分务必读透,MapReduce 编程模型是后续所有章节的地基。
  3. 只做工程应用可略读 HDFS 原理细节,重点关注第 3 至第 4 章与生态章节。
  4. 读完本书后对照官方文档补充 YARN 与新版 API 的差异,避免停留在旧版本认知。

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. Part 1 Hadoop: A Distributed Programming Framework
  2. Chapter 1 Introduction to Hadoop
  3. Chapter 2 Getting Acquainted with Hadoop
  4. Chapter 3 Hadoop Components
  5. Chapter 4 Writing Basic MapReduce Programs
  6. Chapter 5 Advanced MapReduce Programming
  7. Part 2 The Hadoop Framework
  8. Chapter 6 How MapReduce Works
  9. Chapter 7 Hadoop I/O
  10. Chapter 8 Cluster Setup and Configuration
  11. Part 3 The Hadoop Ecosystem and Beyond
  12. Chapter 9 Hive and Pig
  13. Chapter 10 Other Hadoop-Related Technologies

FAQ

这本书和陆嘉恒的《Hadoop实战》是同一本吗?
不是。市面上有两本同名的《Hadoop实战》:一本是 Chuck Lam 著、韩冀中译、人民邮电出版社出版的《Hadoop in Action》中译本;另一本是陆嘉恒著、机械工业出版社出版的《Hadoop实战》(有第 1 版与第 2 版)。本页介绍的是前者。
这本书适合零基础直接读吗?
需要一定的 Java 基础和 Linux 命令行经验。书中示例以 Java 编写 MapReduce 程序,如果完全不懂 Java,建议先补基础语法,否则前半部分会读得比较吃力。
书中内容会不会太旧?
本书原版出版于 2010 年,中文版为 2011 年,对应 Hadoop 1.x 时代,没有涉及 YARN、HDFS 高可用等后续演进。作为 MapReduce 思想与入门实践读物仍有价值,但工程落地时需结合新版官方文档补充。
读完能独立搭建一个 Hadoop 集群吗?
书中讲解了组件的获取与配置、集群的搭建思路,可以帮助你搭起单机和伪分布式环境。但生产级集群还需要结合操作系统调优、Kerberos 安全、监控等内容另行学习。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category