You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by Apache Wiki <wi...@apache.org> on 2008/12/04 09:55:27 UTC
[Hama Wiki] Trivial Update of "GettingStarted" by udanax
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