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 ------------------------------------------------------------------------------ == Run Hama == {{{ + 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} + ${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. And uncomment line "# export HAMA_CLASSPATH=$HADOOP_CONF_DIR:$HBASE_CONF_DIR" - 2. ${HAMA_HOME} > cp ./build/hama-0.1.0-*.jar ${HAMA_HOME} + 2. cp ${HAMA_HOME}/build/hama-0.1.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) ${HADOOP_HOME} ./bin/hama examples rand 1000 1000 a + ex) ${HADOOP_HOME}/bin/hama examples rand 1000 1000 a - ${HADOOP_HOME} ./bin/hama examples rand 1000 1000 b + ${HADOOP_HOME}/bin/hama examples rand 1000 1000 b - ${HADOOP_HOME} ./bin/hama examples mult a b 4 + ${HADOOP_HOME}/bin/hama examples mult a b 4 - 4. ${HAMA_HOME} > ./bin/hama shell + 4. ${HAMA_HOME}/bin/hama shell Now, you are in the hama shell as below. hama >
