Project

General

Profile

Actions

Sample-hadoop-basic » History » Revision 3

« Previous | Revision 3/20 (diff) | Next »
Henning Blohm, 20.09.2012 15:12


A simple Hadoop with Z2 sample

This sample is an adaptation of the classical Wordcount sample in the Z2 context. This sample is supposed to show you how Hadoop can be used from within Z2 and in particular how to write Map/Reduce jobs in that context.

Note #1: This sample is made to be run on Linux or Mac-OS. Supposedly it is possible to run Hadoop on Windows. Sorry, but we have not been able to adapt the sample yet.
Note #2: For your convenience everything in this sample assumes you use Eclipse. That as such is of course no prerequisite to run the software, but it just makes everything much more integrated for now. Please have Eclipse ready and the Eclipsoid installed. See How to install Eclipsoid.

This sample is provided by the repository

Prerequisites

This sample makes use of the Hadoop add-on that is based on Cloudera's CDH4 distribution of Hadoop. As client access is version dependent, so is the sample. In order to simplify this for you, there is a pre-configured CDH4 distribution available to you from this site. Apart from its development style configuration (i.e. no security), this is anyway the way we prefer to install Hadoop and friends: Just one root installation folder, one OS user, one log folder etc.

Please follow the procedure described here: Install prepack CDH4.

To use with this sample, it is most convenient, if you clone and configure the CDH4 install next to your Eclipse workspace and the sample repository clone.

Setting up the sample

Assuming everything (including the CDH4 setup) is under install and your workspace in in install/workspace please clone

Updated by Henning Blohm over 12 years ago · 3 revisions