On Thu, Jun 21, 2012 at 4:30 PM, Andrei Savu <[email protected]> wrote:
> Looks like a timing issue to me. Can you retry with an Ubuntu 10.04 LTS ami?

That was on 10.04.

> t1.micro is just too small to run a bunch of Java daemons. From my
> experience I think you need at least m1.small.

Ok. m1.small works on head, but not in the latest release (only
m1.xlarge and up work) so I'm using head for now.

> It looks like the ZooKeeper server is not available when the HBase master
> tries to start.
>
> Unfortunately there is no easy workaround that we can implement now.
> Something else you can try is to use a dedicated VM for ZooKeeper & add some
> sleep statements in the HBase configure scripts.

I tried this. Change the template definition to:

whirr.instance-templates=1 zookeeper,1
hadoop-namenode+hadoop-jobtracker+hbase-master,1
hadoop-datanode+hadoop-tasktracker+hbase-regionserver

and added a sleep of 60 seconds before configuring hbase. That didn't
work. I've also tried starting hbase master manually and that throws
the errors below. Main extract is: java.lang.ClassNotFoundException:
org.apache.commons.configuration.Configuration

http://pastebin.com/ufRcdPee

Appreciate the help.

Marco

-- 
Marco Gallotta
Software Engineer, Infrastructure | Loki Studios
fb.me/marco.gallotta | twitter.com/marcog
[email protected] | +1 (650) 417-3313

Reply via email to