ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null+hbase+hadoop

I have recently configured hadoop cluster with two machines(on ubuntu). It works fine so far. But when i try to configure hbase on the above hadoop cluster, it shows error. Here is what i did,

i have two machines. Hadoop master Hadoop slave


export JAVA_HOME=/usr/lib/jvm/java-6-sun- export HBASE_CLASSPATH=/home/hadoop/hadoop-0.20.2/conf export HBASE_MANAGES_ZK=true


hbase.master-> as hadoop master:port) hbase.rootdir->hdfs:// hbase.cluster.distributed->true hbase.zookeeper.quorum->,

And region srevers,

After starting hbase, i tried to run the command from hbase shell

hbase(main):001:0> list TABLE It shows

ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null

Please help me up solving the issue Thanks in advance


The error is self explaining. if you do jps with the hadoop user on your master( machine you would see that HMaster is not running. Please check the HMaster logs to see why it failed.

There are some caveats when setting up HBase, especially a cluster. Be patient.

First of all, the cluster is organized by Zookeeper instances. Check your zookeeper logs on both nodes that they connect to each other. It is critical that you set up DNS for your machines and configure the proper domain names for the proper external IPs ( in your case) in /etc/hosts. If this works (only), then your problem maybe be a different one.

Please closely follow the manual at Unfortunately, there is no way around that.

Need Your Help

How to remove the cell selection style color when once again showing the table view in iphone?

iphone uitableview

I am new to iphone development.I created a table displaying my contents.If i select a row ,it state is highlighted in blue color and navigates to another view and if i click the back button it navi...

Date Picker getting clipped if theme is applied to device

android datepicker

I created Date Picker in my app using Android developer link Android Date Picker.