What version of Whirr are you using? Are you seeing this error every time
you start a cluster?

You can get the latest release from:
https://www.apache.org/dyn/closer.cgi/whirr/

Cheers,

-- Andrei Savu / axemblr.com / Tools for Clouds

On Tue, May 8, 2012 at 5:06 PM, Light Reader <[email protected]> wrote:

> Hi,
> Newbie alert.
>
> I am trying to launch a 5 node cluster with Whirr. I get the following
> message during a launch:
>
> Unexpected error while starting 4 nodes, minimum 4 nodes for
> [hadoop-datanode, hadoop-tasktracker] of cluster HCluster1
> *java.util.concurrent.ExecutionException:
> java.lang.IllegalArgumentException: no private key configured for:
> [region=us-east-1, name=jclouds#HCluster1#us-east-1#26]; please use
> options.overrideLoginCredentialWith(rsa_private_text)*
>         at
> java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>         at
> org.apache.whirr.compute.StartupProcess.waitForOutcomes(StartupProcess.java:129)
>         at
> org.apache.whirr.compute.StartupProcess.call(StartupProcess.java:82)
>         at
> org.apache.whirr.compute.StartupProcess.call(StartupProcess.java:40)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
>
> While the cluster eventually does startup I am unable to do a hadoop fs
> -ls. Before I debug that further wondering if the error message above is
> harmless or maybe the root cause of my some of my issues.
>
> My hadoop.properties: (I did create the two env variables and also did the
> rsa key gen)
>
> whirr.cluster-name=HCluster
> whirr.instance-templates=1 hadoop-jobtracker+hadoop-namenode,4
> hadoop-datanode+hadoop-tasktracker
> whirr.provider=aws-ec2
> whirr.identity=${env:AWS_ACCESS_KEY_ID}
> whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
> whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
> whirr.public-key-file=${sys:user.home}/.ssh/id_rsa.pub
> whirr.cluster-user=huser
>
> Any help is appreciated.
>
> Thx,
> LR
>

Reply via email to