poniedziałek, 9 maja 2011

Installation of Hadoop and HBase in standalone mode

Manual installation of Hadoop is perfectly described on Michael Noll's blog:
Link

However, if we are going to install HBase a problem occurs. Particular HBase versions are incompatible with particular Hadoop versions. For example, Hadoop 0.21 doesn't work with HBase 0.90. The problem is described here:
Link

Therefore, it is much easier to use ready packages distributed by Cloudera. Personally, I enjoy the Ubuntu Linux. Thus, all commands come from this system. Installation process on different platforms is described on Cloudera's web page:
Link

First, add Cloudera repository to apt:
echo "deb http://archive.cloudera.com/debian maverick-cdh3 contrib
deb-src http://archive.cloudera.com/debian maverick-cdh3 contrib" | sudo tee /etc/apt/sources.list.d/cloudera.list

Second, install curl:
sudo apt-get install curl

Add Cloudera key to trusted keys:
curl -s http://archive.cloudera.com/debian/archive.key | sudo apt-key add -

Update:
sudo apt-get update

Install Hadoop:
sudo apt-get install hadoop-0.20

Finally, install HBase:
sudo apt-get install hadoop-hbase

Install HBase Master:
sudo apt-get install hadoop-hbase-master

Run:
hbase shell

Brak komentarzy:

Prześlij komentarz