Are you sure you are running the latest trunk? I know that a similar bug was fixed some time ago (guarding against existing user accounts)
The recipe looks good do me. I will give it a try and get back to you. On Tue, Feb 1, 2011 at 5:53 PM, Paolo Castagna <castagna.li...@googlemail.com> wrote: > Andrei Savu wrote: >> >> Could you share the recipe? I want to try to replicate the issue on my >> computer. > > ------------------------ > whirr.cluster-name=myhbase > whirr.instance-templates=1 zk+nn+jt+hbase-master,3 dn+tt+hbase-regionserver > whirr.hadoop-install-runurl=cloudera/cdh/install > whirr.hadoop-configure-runurl=cloudera/cdh/post-configure > whirr.provider=ec2 > > whirr.identity=XXXXXXXXXXXXXXXXXXXX > whirr.credential=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > > # See also: http://aws.amazon.com/ec2/instance-types/ > # t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, > m2.4xlarge, c1.medium, c1.xlarge, cc1.4xlarge > # whirr.hardware-id=m1.large > # Ubuntu 10.04 LTS Lucid. See also: http://alestic.com/ > # whirr.image-id=eu-west-1/ami-0d9ca979 > # If you choose a different location, make sure whirr.image-id is updated > too > # whirr.location-id=eu-west-1 > > #whirr.hardware-id=m1.large > #whirr.location-id=us-east-1 > #whirr.image-id=us-east-1/ami-f8f40591 > > whirr.hardware-id=m1.xlarge > whirr.image-id=us-east-1/ami-da0cf8b3 > whirr.location-id=us-east-1 > > whirr.private-key-file=${sys:user.home}/.ssh/whirr > whirr.public-key-file=${sys:user.home}/.ssh/whirr.pub > ------------------------ > > I did different attempts (you see them commented). > Last one, I was using m1.xlarge with us-east-1/ami-da0cf8b3. > > Paolo > >> >> On Tue, Feb 1, 2011 at 5:32 PM, Paolo Castagna >> <castagna.li...@googlemail.com> wrote: >>> >>> Hi, >>> I am trying to run an HBase small cluster using Whirr 0.3.0-incubating >>> and (since it does not start HBase master or it does not install Hadoop >>> correctly) Whirr from trunk. >>> >>> When I run it from trunk with a recipe very similar to the one provided >>> in the recipes folder, I see these errors in the whirr.log: >>> >>> >>> 2011-02-01 15:11:58,484 DEBUG [jclouds.compute] (user thread 9) << stderr >>> from runscript as ubuntu@50.16.158.231 >>> + [[ hbase != \h\b\a\s\e ]] >>> + HBASE_HOME=/usr/local/hbase-0.89.20100924 >>> + HBASE_CONF_DIR=/usr/local/hbase-0.89.20100924/conf >>> + update_repo >>> + which dpkg >>> + sudo apt-get update >>> + install_hbase >>> + id hadoop >>> + useradd hadoop >>> useradd: group hadoop exists - if you want to add this user to that >>> group, >>> use -g >>> >>> [...] >>> >>> 2011-02-01 15:12:26,370 DEBUG [jclouds.compute] (user thread 2) << stderr >>> from computeserv as ubuntu@50.16.158.231 >>> + HBASE_VERSION=hbase-0.89.20100924 >>> + [[ hbase != \h\b\a\s\e ]] >>> + HBASE_HOME=/usr/local/hbase-0.89.20100924 >>> + HBASE_CONF_DIR=/usr/local/hbase-0.89.20100924/conf >>> + configure_hbase >>> + case $CLOUD_PROVIDER in >>> + MOUNT=/mnt >>> + mkdir -p /mnt/hbase >>> + chown hadoop:hadoop /mnt/hbase >>> chown: invalid user: `hadoop:hadoop' >>> >>> Is this a known problem? >>> >>> Paolo >>> >>> >> >> >> > > -- Andrei Savu -- andreisavu.ro