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.listSecond, install curl:
sudo apt-get install curlAdd Cloudera key to trusted keys:
curl -s http://archive.cloudera.com/debian/archive.key | sudo apt-key add -Update:
sudo apt-get updateInstall Hadoop:
sudo apt-get install hadoop-0.20Finally, install HBase:
sudo apt-get install hadoop-hbaseInstall HBase Master:
sudo apt-get install hadoop-hbase-masterRun:
hbase shell
Brak komentarzy:
Prześlij komentarz