incubator-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 Sat, 31 Oct 2009 07:51:08 GMT
Dear Wiki user,

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

The "GettingStarted" page has been changed by udanax.
The comment on this change is: update gettingstarted page.
http://wiki.apache.org/hama/GettingStarted?action=diff&rev1=29&rev2=30

--------------------------------------------------

   * SSH must be installed.
   * You should indeed increase your {{{hbase.regionserver.lease.period}}} to at least 4 minutes.
  
+ == Run Hama ==
  
- == Run Hama ==
+ 0. Check out source code from SVN, you must build using ant, as described below.
  {{{
- 0. Check out source code from SVN, you must build using ant, as described below.
- 
     $ svn checkout https://svn.apache.org/repos/asf/incubator/hama/trunk ${HAMA_HOME}
        or http://svn.apache.org/viewvc/incubator/hama/branches/0.19/, if you use the hadoop/hbase
0.19.x
     ${HAMA_HOME}/ant clean package
+ }}}
+ 1. Modify {{{${HAMA_HOME}/conf/hama-env.sh}}}
+  * Make sure that {{{$HADOOP_CONF_DIR}}} and {{{$HBASE_CONF_DIR}}} are set to the location
of your hadoop+hbase cluster' configurations file.
+   * Absolute paths have to be given in the config file
+  * And uncomment line {{{"# export HAMA_CLASSPATH=$HADOOP_CONF_DIR:$HBASE_CONF_DIR"}}}
  
+ 2. cp {{{${HAMA_HOME}/build/hama-0.2.0-*.jar ${HAMA_HOME}}}}
+  * Make sure that {{{hama-x.x.x-{,examples}.jar}}} are placed in {{{${HAMA_HOME}}}}
+  * To see the O/P, changes have to be made to the source code, the code has to be compiled
again and the necessary files copied to {{{$HAMA_HOME}}}
  
- 
- 1. Modify ${HAMA_HOME}/conf/hama-env.sh.
-    
-    Make sure that $HADOOP_CONF_DIR and $HBASE_CONF_DIR are set to the location of your hadoop+hbase
cluster' configurations file.
-    And uncomment line "# export HAMA_CLASSPATH=$HADOOP_CONF_DIR:$HBASE_CONF_DIR"
- 
- 2. cp ${HAMA_HOME}/build/hama-0.2.0-*.jar ${HAMA_HOME}
-    
-    Make sure that hama-x.x.x-{,examples}.jar are placed in ${HAMA_HOME}
-    
- 3. ${HAMA_HOME}/bin/hama examples
+ 3. {{{${HAMA_HOME}/bin/hama examples}}}
- 
+ {{{
  ex) ${HAMA_HOME}/bin/hama examples rand
      rand [-m maps] [-r reduces] <rows> <columns> <density> <matrix_name>
      ex) rand -m 10 -r 10 2000 2000 30.5% matrixA
  }}}
  
- If you need help getting started with Hama, please ask on [[MailingLists| Hama Mailing Lists]]
+ 4. If you need help getting started with Hama, please ask on [[MailingLists| Hama Mailing
Lists]]
  

Mime
View raw message