Wednesday, December 09, 2009

HBase setup (0.20.0)

Before you start configure HBase, you need to have a running Hadoop cluster, which will be the storage for hbase. Please refere to Hadoop cluster setup document before continuing.

On the HBaseMaster (master) machine:

1. In file /etc/hosts, define the ip address of the namenode machine and all the datanode machines. Make sure you define the actual ip (eg. 192.168.1.9) and not the localhost ip (eg. 127.0.0.1) for all the machines including the namenode, otherwise the datanodes will not be able to connect to namenode machine).

<property> <name>hbase.master</name> <value>localhost:60000</value> <description>The host and port that the HBase master runs at. A value of 'local' runs the master and a regionserver in a single process.

<configuration> <property> <name>hbase.master</name> <value>localhost:60000</value> <description>The host and port that the HBase master runs at. A value of 'local' runs the master and a regionserver in a single process </description> </property>

Hi Rajeev, I liked your post and followed it, I have a CentOS VM ware system with 4 nodes 1 being the master and rest slaves. I installed hadoop and made a cluster, and it is working great. But installed hbase, with the same it shows :hbase(main):001:0> status0 servers, 0 dead, NaN average load

About Me

I am a technology enthusiast with 9+ years of experience in software
development. I have worked on multiple platforms, technologies and
domains in my career. I love to read about
upcoming technologies and trends in various domains. Currently, I am
exploring the world of mobile and web apps and working on pet projects
around html5, no-sql and video streaming.