Ok, Thanks a lot!

 

Best regards

 

-Jeremy

 

From: Andrei Savu [mailto:savu.and...@gmail.com] 
Sent: Monday, June 03, 2013 6:43 PM
To: user@whirr.apache.org
Cc: d...@whirr.apache.org
Subject: Re: [ASK]Failed in launch-cluster

 

Please don't run Whirr as root on the local machine. 




-- Andrei Savu / axemblr.com <http://axemblr.com/> 

 

On Mon, Jun 3, 2013 at 1:16 PM, lvsongping <lvsongp...@cn.fujitsu.com>
wrote:

Dear whirr users and whirr developer:

 

   I'm trying to develop a cloud server recently and I found whirr is used
to support to launch a hadoop cluster based on the cloud server(Amazon EC2
or Rackspace), I tried to executed the command line list in the Quick Start
Guide(http://whirr.apache.org/docs/0.8.1/quick-start-guide.html), but it is
failed when I start to launch the cluster as "/whirr launch-cluster --config
hadoop.properties", The error messages are as follows:

Cluster-user != root or don not run as root

Help: whirr help launch-cluster

 

Here is my the content of my hadoop.properties:

whirr.cluster-name=myhadoopcluster 

whirr.instance-templates=1 hadoop-jobtracker+hadoop-namenode,1
hadoop-datanode+hadoop-tasktracker 

whirr.provider=aws-ec2

whirr.private-key-file=root/.ssh/id_rsa

whirr.public-key-file=root/.ssh/id_rsa.pub

 

Need I set the whirr.identity and whirr.credential to the hadoop.properties
or what other steps I have set into wrong value

 

Best Regards

 

-Jeremy Lv

 

Reply via email to