Sample Projects

Thomas Risberg edited this page May 21, 2015 · 10 revisions

Prerequisites

In order to run the examples you need a working Hadoop installation and Java SDK 1.7 or later installed. Some examples are designed to run against multiple distributions and Hadoop versions while others only works against a specific distribution or version. The majority should run using the default Apache Hadoop version which currently is 2.6.0.

NOTE: If you are running your Hadoop client on Windows accessing an Hadoop cluster running on Linux then there are a few things to consider. See the this page.

Sample Apps

Wordcount sample

This sample demonstrates how to execute a MapReduce application and a script that interacts with HDFS inside a Spring based application. It does not use spring Batch or Spring Integration.

The example code is located in the sample repository under the mapreduce directory.