ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times
I got this error when I am creating the table in HBase. I am giving like in following way to create the table by using HBase. I type the following command on console.
create 'test', 'cf'
I got the above mentioned error. What would be the reasons for getting this error? I am trying this table in standalone system.
this happens only if your namenode is in safe mode, so just enter the following command :- hdfs dfsadmin -safemode leave
this command worked for me all ways, try it for you.
you should check hadoop and hbase logs. it seems hdfs does not started correctly. as codingFoo said you should wait about 1 minute after starting hdfs before starting hbase. after starting hbase check http://:60010 to see what is going on in your machines
I was having the exactly same error. After spending lots of hours struggling, it is finally resolved just by writing 'ubuntu' besides hostname in the /etc/hosts file. i.e. 127.0.0.1 your-hostname ubuntu.
Obviously, this solution might work for you only if you are using Ubuntu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With