Here are some logs: http://pastebin.com/GxDpwEmM
Some extracts: 2012-06-20 23:54:11,604 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused 10-6-63-150.ec2.internal,60020,1340236451506>Failed to set watcher on ZNode /hbase/master org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master On Wed, Jun 20, 2012 at 5:17 PM, Marco Gallotta <[email protected]> wrote: > 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 -- Marco Gallotta Software Engineer, Infrastructure | Loki Studios fb.me/marco.gallotta | twitter.com/marcog [email protected] | +1 (650) 417-3313
