whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haitao Jiang <jianghai...@gmail.com>
Subject Re: SocketTimeOutException when run launch-cluster
Date Thu, 01 Sep 2011 21:05:05 GMT
Right on. My Windows 7 laptop was set to find DNS server automatically,
after I changed it to fixed DNS server, the problem is gone.

Thanks for your help.

On Wed, Aug 31, 2011 at 5:41 PM, Andrei Savu <savu.andrei@gmail.com> wrote:

> Looks like a DNS query failure to me. Can you change the machine DNS
> servers to public ones (e.g. 8.8.8.8 or 8.8.4.4) and try again?
>
> Cheers,
>
> -- Andrei Savu / andreisavu.ro
>
> On Wed, Aug 31, 2011 at 5:25 PM, Haitao Jiang <jianghaitao@gmail.com>
> wrote:
> > Hi,
> >
> > I am new to whirr and was trying to launch a cluster, everything seems
> fine,
> > except following error. This error cause the whirr failed to create the
> > instances file.
> >
> > Any hint on how to get this fixed? I was running from my laptop to create
> > instances in aws-ec2 - instances were indeed created.
> >
> > Thanks
> >
> > Haitao
> >
> > Problem writing instances file
> > C:\Users\h00725942\.whirr\haitao-zookeeper\instances
> > java.net.SocketTimeoutException
> >        at org.xbill.DNS.Client.blockUntil(Client.java:43)
> >        at org.xbill.DNS.UDPClient.recv(UDPClient.java:90)
> >        at org.xbill.DNS.UDPClient.sendrecv(UDPClient.java:116)
> >        at org.xbill.DNS.SimpleResolver.send(SimpleResolver.java:252)
> >        at
> > org.xbill.DNS.ExtendedResolver$Resolution.start(ExtendedResolver.java:95)
> >        at org.xbill.DNS.ExtendedResolver.send(ExtendedResolver.java:358)
> >        at org.apache.whirr.util.DnsUtil.resolveAddress(DnsUtil.java:55)
> >        at
> > org.apache.whirr.Cluster$Instance.getPrivateHostName(Cluster.java:113)
> >        at
> > org.apache.whirr.Cluster$Instance.getPrivateAddress(Cluster.java:88)
> >        at
> >
> org.apache.whirr.service.ClusterStateStore.serialize(ClusterStateStore.java:81)
> >        at
> >
> org.apache.whirr.service.FileClusterStateStore.save(FileClusterStateStore.java:68)
> >        at
> >
> org.apache.whirr.ClusterController.launchCluster(ClusterController.java:111)
> >        at
> >
> org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:62)
> >        at org.apache.whirr.cli.Main.run(Main.java:64)
> >        at org.apache.whirr.cli.Main.main(Main.java:97)
>

Mime
View raw message