Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update broken links.
Table of Contents

User documentation as PDF

If you'd like to read the documentation as PDF, e.G. if your datacenter has no internet connection, then we have included you a downloadable version of our documentation in the wiki. It is much more detailed, so it is worth to read through it even if you read the wiki pages.

Hama 0.5.0

Hama Installation Guide

BSP Programming Model

BSP Design Document

Hama 0.6.0

Hama Installation Guide

BSP Programming Model

BSP Design Document

Requirements

Current Hama requires JRE 1.6 or higher and ssh to be set up between nodes in the cluster:

...

You can download Hama here:

http://www.apache.org/dyn/closer.cgi/incubator/hama

Build latest version from source

...

No Format
tar -xzf hama-0.x.0-incubating.tar.gz

Don't forget to chown the directory as the same user you configured Hadoop in the step before.

...

No Format
% $HAMA_HOME/bin/hama jar hama-examples-0.x.0-incubating.jar

It will then offer you some examples to choose. Refer to our Examples site if you have additional questions how to use them.

...

*First you need a simple Java Project.
*Click on File in the top left corner -> New -> Java Project.
*Give the child a good name, choose at least Java6 and finish. You should see the project in your Package Explorer.
*Add the jars you need for Hama 0.5.0 to your build path, you should get them from a binary release (sometimes called *-dist) lib directory of Apache Hama.
*commons-configuration-1.6.jar ; commons-httpclient-3.0.1.jar ; commons-logging-1.0.4.jar; commons-lang-2.6.jar ; hadoop-1.0.0.jar ; hama-core.0.5.0-incubating.jar ; hama-graph.0.5.0-incubating.jar ; hama-examples.0.5.0-incubating*.jar ; zookeeper-3.3.2.jar.
*You can also add the configuration XML's to your classpath, by creating a new folder "conf" and add it as a source folder via rightclick->Build Path->Use as Source Folder
*Create a new class to test it and put the following code into it

...