Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (38 sloc) 1.36 KB
Example code for "Hadoop: The Definitive Guide, Second Edition" by Tom White.
Copyright (C) 2010 Tom White, 978-1-449-38973-4
The code is hosted at You can find code
for the first edition at
This version of the code has been tested with:
* Hadoop 0.20.2
* Pig 0.7.0
* Hive 0.5.0-dev (compiled from SVN trunk)
* HBase 0.89.0-SNAPSHOT (compiled from SVN trunk)
* ZooKeeper 3.3.1.
Before running the examples you need to install Hadoop, Pig, Hive, HBase,
and ZooKeeper as explained in the book.
You also need to install Ivy (
Then you can compile the code:
ant jar pig hive hbase
You should then be able to run the examples from the book.
Chapter names for "Hadoop: The Definitive Guide", Second Edition
ch01 - Meet Hadoop
ch02 - MapReduce
ch03 - The Hadoop Distributed Filesystem
ch04 - Hadoop I/O
ch05 - Developing a MapReduce Application
ch06 - How MapReduce Works
ch07 - MapReduce Types and Formats
ch08 - MapReduce Features
ch09 - Setting Up a Hadoop Cluster
ch10 - Administering Hadoop
ch11 - Pig
ch12 - Hive
ch13 - HBase
ch14 - ZooKeeper
ch15 - Sqoop
ch16 - Case Studies
app1 - Installing Apache Hadoop
app2 - Cloudera's Distribution for Hadoop
app3 - Preparing the NCDC Weather Data