whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Khaled Elmeleegy <kd...@hotmail.com>
Subject java.util.NoSuchElementException: hardwareId(...) not found
Date Sat, 19 Jul 2014 13:07:42 GMT
Hi,

I am new to EC2 and Whirr, and I am trying to launch a test hbase cluster.
I am using whirr-0.8.2 with the following config:

whirr.cluster-name=hbase-96
whirr.instance-templates=1 zookeeper+hadoop-namenode+hadoop-jobtracker+hbase-master,1 hadoop-datanode+hadoop-tasktracker+hbase-regionserver
whirr.provider=aws-ec2
whirr.identity=${env:AWS_ACCESS_KEY_ID}
whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
...
whirr.hardware-id=m3.medium
whirr.image-id=us-west-2/ami-d13845e1
whirr.location-id=us-west-2

I tried different hardwares as well like t2.micro and i get the following error:

Configuring template for bootstrap-hadoop-datanode_hadoop-tasktracker_hbase-regionserver
Unable to start the cluster. Terminating all nodes.
java.util.NoSuchElementException: hardwareId(m3.medium) not found
	at org.jclouds.compute.domain.internal.TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingHardwareIds(TemplateBuilderImpl.java:729)
	at org.jclouds.compute.domain.internal.TemplateBuilderImpl.findHardwareWithId(TemplateBuilderImpl.java:716)
	at org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:667)
	at org.apache.whirr.compute.BootstrapTemplate.build(BootstrapTemplate.java:77)
	at org.apache.whirr.actions.BootstrapClusterAction.doAction(BootstrapClusterAction.java:101)
	at org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:131)
	at org.apache.whirr.ClusterController.bootstrapCluster(ClusterController.java:137)
	at org.apache.whirr.ClusterController.launchCluster(ClusterController.java:113)
	at org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:69)
	at org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:59)
	at org.apache.whirr.cli.Main.run(Main.java:69)
	at org.apache.whirr.cli.Main.main(Main.java:102)
...

Please advise.

Thanks,
Khaled



 		 	   		  
Mime
View raw message