Spring Hadoop Reference Guide

Costin Leau

SpringSource, a division of VMware

0.9.0.RELEASE

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.


Table of Contents

Preface
I. Introduction
1. Requirements
II. Spring and Hadoop
2. Hadoop Configuration, MapReduce, and Distributed Cache
2.1. Using the Spring Hadoop Namespace
2.2. Configuring Hadoop
2.3. Creating a Hadoop Job
2.3.1. Creating a Hadoop Streaming Job
2.3.2. Running a Hadoop Job
2.4. Configuring the Hadoop DistributedCache
2.5. Using the Hadoop Job tasklet
3. Working with the Hadoop File System
3.1. Scripting the Hadoop API
3.1.1. Using scripts
3.2. Scripting implicit variables
3.3. File System Shell (FsShell)
3.3.1. DistCp API
3.4. Scripting Lifecycle
3.5. Using the Scripting tasklet
4. Working with HBase
5. Hive integration
5.1. Starting a Hive Server
5.2. Using the Hive Thrift Client
5.3. Using the Hive JDBC Client
5.4. Using the Hive tasklet
6. Pig support
6.1. Using the Pig tasklet
III. Developing Spring Hadoop Applications
7. Guidance and Examples
7.1. Scheduling
7.2. Batch Job Listeners
IV. Spring Hadoop sample applications
8. Sample prerequisites
9. Wordcount sample using the Spring Framework
9.1. Introduction
10. Wordcount sample using Spring Batch
10.1. Introduction
10.2. Basic Spring Hadoop configuration
10.3. Build and run the sample application
10.4. Run the sample application as a standlone Java application
V. Other Resources
11. Useful Links
VI. Appendices
A. Spring Data Hadoop Schema