1. Requirements

Spring for Apache Hadoop requires JDK level 6.0 (just like Hadoop) and above, Spring Framework 3.0 (3.2 recommended) and above and Apache Hadoop 0.20.2 (1.0.4 or 1.1.2 recommended) and above. SHDP supports and is tested daily against Apache Hadoop 1.0.4 and Apache Hadoop 1.1.2 as well as against various Hadoop distributions:

Any distro compatible with Apache Hadoop 1.0.x should be supported.

Spring Data Hadoop is provided out of the box and it is certified to work on Greenplum and Pivotal HD distributions.

[Warning]Warning
Note that Hadoop YARN and Hadoop 2.0.x (currently in alpha stage), is not explicitly supported yet, but we have added support to allow 2.0.x based distributions to be used with the current functionality. We are running some limited test builds against Apache Hadoop 2.0.4-alpha, Pivotal HD 1.0 and Hortonworks Data Platform 2.0.

Regarding Hadoop-related projects, SDHP supports Cascading 2.1, HBase 0.90.x, Hive 0.8.x and Pig 0.9.x and above. As a rule of thumb, when using Hadoop-related projects, such as Hive or Pig, use the required Hadoop version as a basis for discovering the supported versions.

Spring for Apache Hadoop also requires a Hadoop installation up and running. If you don't already have a Hadoop cluster up and running in your environment, a good first step is to create a single-node cluster. To install Hadoop 1.1.2, the Getting Started page from the official Apache documentation is a good general guide. If you are running on Ubuntu, the tutorial from Michael G. Noll, "Running Hadoop On Ubuntu Linux (Single-Node Cluster)" provides more details. It is also convenient to download a Virtual Machine where Hadoop is setup and ready to go. Cloudera provides virtual machines of various formats here. You can also download the EMC Greenplum HD distribution or download one of Hortonworks distributions. Additionally, the appendix provides information on how to use Spring for Apache Hadoop and setup Hadoop with cloud providers, such as Amazon Web Services.