I have tried to run a Zookeeper cluster with Whirr on cloudsigma-lvs. The bootstrap phase works as expected but I got this exception:
Exception in thread "main" java.lang.IndexOutOfBoundsException: index (0) must be less than size (0) at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:301) at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:280) at com.google.common.collect.Iterables.get(Iterables.java:709) at org.apache.whirr.actions.BootstrapClusterAction$1.apply(BootstrapClusterAction.java:146) at org.apache.whirr.actions.BootstrapClusterAction$1.apply(BootstrapClusterAction.java:143) at com.google.common.collect.Iterators$8.next(Iterators.java:782) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at java.util.LinkedHashSet.<init>(LinkedHashSet.java:152) at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:264) at org.apache.whirr.actions.BootstrapClusterAction.getInstances(BootstrapClusterAction.java:142) at org.apache.whirr.actions.BootstrapClusterAction.doAction(BootstrapClusterAction.java:132) at org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:81) at org.apache.whirr.ClusterController.launchCluster(ClusterController.java:105) 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) This is happening because a VM has only a public IP by default. [id=5483af12-6544-4d85-b495-9506c04f244d, providerId=5483af12-6544-4d85-b495-9506c04f244d, group=zookeeper, name=zookeeper-413, location=[id=cloudsigma-lvs, scope=PROVIDER, description=https://api.lvs.cloudsigma.com, parent=null, iso3166Codes=[US-NV], metadata={}], uri=null, imageId=null, os=[name=Ubuntu 10.04 Linux Server Edition 64bit Preinstalled System with automated SSH Access, family=ubuntu, version=10.04, arch=null, is64Bit=false, description=This is a ready server system drive which offers automated SSH access using the VNC password for initial SSH access.], state=RUNNING, loginPort=22, hostname=null, privateAddresses=[], publicAddresses=[69.194.139.16], hardware=[id=5483af12-6544-4d85-b495-9506c04f244d, providerId=5483af12-6544-4d85-b495-9506c04f244d, name=null, processors=[[cores=1.0, speed=1000.0]], ram=1024, volumes=[[[id=null, type=NAS, size=null, device=null, durable=true, isBootDevice=false]]], supportsImage=ALWAYS_TRUE, tags=[]], loginUser=root, userMetadata={}, tags=[]] I have created this JIRA issue for changing the code to make it work when a VM has only a public IP. https://issues.apache.org/jira/browse/WHIRR-406 -- Andrei Savu On Thu, Oct 20, 2011 at 2:26 AM, Adrian Cole <[email protected]> wrote: > Try it! > > I have a test account. > -A > On Oct 19, 2011 3:58 PM, "Andrei Savu" <[email protected]> wrote: > > > A 10GE network sounds really good for Hadoop clusters. How good is IO > > performance? > > > > On Wed, Oct 19, 2011 at 9:26 PM, Adrian Cole <[email protected]> wrote: > > > > > I don't think KT support is ready. Maybe one of the others? How about > > > cloudsigma-lvs? It has 10GE and fast starting cheap servers. > > > > > > -Adrian > > > On Oct 19, 2011 10:57 AM, "Andrei Savu" <[email protected]> wrote: > > > > > > > Now that WHIRR-325 is in I think that adding support for a new cloud > > > > provider should be quite easy. > > > > > > > > Any suggestion? Edward are you using Whirr inside the KT cloud? > > > > > > > > [1] https://issues.apache.org/jira/browse/WHIRR-325 > > > > > > > > -- Andrei Savu > > > > > > > > > >
