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