On Fri, Jan 28, 2011 at 12:53 AM, Ashish <paliwalash...@gmail.com> wrote:
> Folks,
>
> I followed the instructions from
> http://www.philwhln.com/quickly-launch-a-cassandra-cluster-on-amazon-ec2
>
> Using whirr-0.2.0-incubating stable release

I suggest trying with 0.3.0 (out soon, or available from svn now, as
the blog outlines) since the Cassandra code has changed quite a bit
since 0.2.0.

>
> Instances are launched, but at the end it it displays an error while
> connecting it.
>
> Following exception is printed -----------------
>
> Authorizing firewall
> Running configuration script
> Exception in thread "main" java.io.IOException:
> org.jclouds.compute.RunScriptOnNodesException: error runScript on
> filter
> ed nodes options(RunScriptOptions [overridingCredentials=true, 
> runAsRoot=true])
> Execution failures:
>
> 0 error[s]
> Node failures:
>
> 1) SshException on node us-east-1/i-17f3497b:
> org.jclouds.ssh.SshException: ec2-user@50.16.165.161:22: Error
> connecting to session.
>        at org.jclouds.ssh.jsch.JschSshClient.propagate(JschSshClient.java:250)
>        at org.jclouds.ssh.jsch.JschSshClient.connect(JschSshClient.java:204)
>        at 
> org.jclouds.compute.internal.BaseComputeService$4.call(BaseComputeService.java:375)
>        at 
> org.jclouds.compute.internal.BaseComputeService$4.call(BaseComputeService.java:364)
>        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>        at java.util.concurrent.FutureTask.run(Unknown Source)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>        at java.lang.Thread.run(Unknown Source)
> Caused by: com.jcraft.jsch.JSchException: Auth fail
>        at com.jcraft.jsch.Session.connect(Session.java:452)
>        at com.jcraft.jsch.Session.connect(Session.java:150)
>        at 
> org.jclouds.ssh.jsch.JschSshClient.newSession(JschSshClient.java:245)
>        at org.jclouds.ssh.jsch.JschSshClient.connect(JschSshClient.java:184)
>        ... 7 more
>
>
> Hadoop cluster runs fine with the whirr release.
>
> My configuration file is plan simple, picked from the blog and the
> real value replaced.
>
> Am I missing anything out here?
>
> thanks
> ashish
>

Reply via email to