Hi there
I am getting a MasterNotRunningException after trying to setup an
Hbase cluster using whirr.
Here's my properties file (pretty standard from the docs, except that
I reduced the number of slaves to 1 for testing):
whirr.cluster-name=hbase
whirr.instance-templates=1
zookeeper+hadoop-namenode+hadoop-jobtracker+hbase-master,1
hadoop-datanode+hadoop-tasktracker+hbase-regionserver
whirr.provider=aws-ec2
whirr.identity=${env:AWS_ACCESS_KEY_ID}
whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
whirr.hardware-id=m1.xlarge
whirr.image-id=us-east-1/ami-da0cf8b3 # Ubuntu 10.04
whirr.location-id=us-east-1
Then I run the following on one of the instances:
$ cd /usr/local/hbase-0.89.20100924/
$ bin/hbase shell
hbase(main):001:0> status
ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null
...
Any suggestions on what I'm doing wrong?
A couple other questions:
- Is it alright to use small instances during testing? Why doesn't it
work at all on micro instances? I get errors about no hardware
matches.
- Is it alright using Ubuntu 12.04? I had the same issue as above,
after getting whirr to install JDK 7 and use the right paths.
Regards
Marco
--
Marco Gallotta
Software Engineer, Infrastructure | Loki Studios
fb.me/marco.gallotta | twitter.com/marcog
[email protected] | +1 (650) 417-3313