Wednesday, February 15, 2012

Install Pseudo-distributed HAMA with Hadoop on Mac OS X


Here is a note on installing Pseudo-distributed HAMA on Hadoop. I use hadoop 0.20.2 (hadoop-0.20.2.tar.gz) and hama (hama-0.3.0-incubating.tar.gz). The current stable release of HAMA works with Hadoop 0.20.0. 



Prerequisites :
You need to have Pseudo-distributed Hadoop installed and working first. In my case, I have install Hadoop on /usr/local/hadoop20 and also you need to put Hadoop on PATH. 



Steps to Install HBase
1. Download hama-0.3.0-incubating.tar.gz and place it at /usr/local and untar it at /usr/local





2. Config network settings: 

Run the command to find the network setting:




Here is content of my /etc/hosts



3 Config HAMA


Add the following environment variable. 




add the following line:



add the following settings in hama-site.xml:




Here is the content of gromservers:



Start and Run Hadoop and HAMA:

1. start Hadoop: 





2. start Hbase:





3. Verify HAMA install:







4. stop HAMA and Hadoop: 




You can find useful trouble shooting link here: 
http://wiki.apache.org/hadoop/HowToSetupYourDevelopmentEnvironment

Enjoy. 


1 comment:

  1. Thanks for review, it was excellent and very informative.
    thank you :)

    ReplyDelete