hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Trivial Update of "GettingStarted" by udanax
Date Thu, 04 Dec 2008 08:55:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/hama/GettingStarted

------------------------------------------------------------------------------
    * [http://hadoop.apache.org/hbase/docs/current/api/overview-summary.html#overview_description
Getting Started with Hbase]
   * SSH must be installed.
  
- == Run Examples ==
+ == Run Hama ==
- 
- Are you ready to run the Hama on the Hadoop + Hbase cluster? Then,
- This is quick guide for you :
- 
- {{{
- 1. ${HAMA_HOME} > 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_HOME} > cp ./build/hama-0.1.0-dev.jar ${HADOOP_HOME}/lib
- 
-    You also need to restart your hadoop cluster.
- 
- 3. ${HAMA_HOME} > cp ./build/hama-0.1.0-dev-examples.jar ${HADOOP_HOME}
- 
- 4. ${HADOOP_HOME} ./bin/hadoop jar hama-0.1.0-dev-examples.jar add -m 4 -r 4 16 16
- }}}
- 
- == Run in a hama shell ==
  {{{
  1. Modify ${HAMA_HOME}/conf/hama-env.sh.
     
@@ -38, +19 @@

     
     Make sure that hama-x.x.x-{,examples}.jar are placed in ${HAMA_HOME}
     
- 3. ${HAMA_HOME} > ./bin/hama examples addition 10 10
+ 3. ${HAMA_HOME} > ./bin/hama examples
  
-    You can run the hama examples quickly as above.
+ ex) ${HADOOP_HOME} ./bin/hama examples random -m 4 -r 4 1000 1000 a
+     ${HADOOP_HOME} ./bin/hama examples random -m 4 -r 4 1000 1000 b
+     ${HADOOP_HOME} ./bin/hama examples mult -m 4 -r 4 a b
+ 
  
  4. ${HAMA_HOME} > ./bin/hama shell
  

Mime
View raw message