NOTE: Hama is not ready yet!!
- If you have some question, please send a mail to: http://incubator.apache.org/hama/mailing_lists.html
Requirements
...
- Getting Started with Hadoop
- Getting Started with Hbase
- If you use 0.20.x, then you'll need to install the zookeeper
- If you use 0.20.x, then you'll need to install the zookeeper
...
Run Hama
No Format |
---|
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.
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
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
|
...