You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 84 Next »

Requirements

  • Java 1.6.x from Sun.
  • Hadoop 0.17.x and Hbase 0.2.x. Hama 0.1.x will only run on this version of Hadoop and Hbase.
    • [http://wiki.apache.org/hadoop/GettingStartedWithHadoop Getting Started with Hadoop]

    • [http://hadoop.apache.org/hbase/docs/current/api/overview-summary.html#overview_description Getting Started with Hbase]

  • SSH must be installed.

Run Examples

Are you ready to run the Hama on the Hadoop + Hbase cluster? Then, This is quick guide for you :

  1. [hama-trunk]# ant clean package
    Then, You should add hama-x.x.x.jar to the {$HADOOP_HOME}/lib and copy these changes across your cluster.

2. [hama-trunk]# cp ./build/hama-0.1.0-dev.jar {$HADOOP_HOME}/lib

You also need to restart your hadoop cluster.

3. [hama-trunk]# cp ./build/hama-0.1.0-dev-examples.jar {HADOOP_HOME}

4. [hadoop-0.17.1]# ./bin/hadoop jar hama-0.1.0-dev-examples.jar addition 2 2

  • No labels