You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by "Nick R. Katsipoulakis" <ni...@gmail.com> on 2015/02/20 00:03:12 UTC

Storm-deploy issue

Hello all,

I recently decided to try the storm-deploy project for deploying my
topologies. Therefore, I create an EC2 account and start an instance. I
follow the configuration steps, I configure the ~/.pallet/config.clj
accordingly and I leave the conf/clusters.yaml file with its default
values. However, when I execute the deploy-storm command I get the
following:



storm@ip-172-31-40-189:~/storm-deploy$ lein deploy-storm --start --name
mycluster

INFO  execute - Output:

/home/storm/.ssh/id_rsa.pub


DEBUG execute - out

=> "/home/storm/.ssh/id_rsa.pub\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa


DEBUG execute - out

=> "/home/storm/.ssh/id_rsa\n"

INFO  execute - Output:

storm


DEBUG execute - out

=> "storm\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa.pub


DEBUG execute - out

=> "/home/storm/.ssh/id_rsa.pub\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa


DEBUG execute - out

=> "/home/storm/.ssh/id_rsa\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa.pub


DEBUG execute - out

=> "/home/storm/.ssh/id_rsa.pub\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa


DEBUG execute - out

=> "/home/storm/.ssh/id_rsa\n"

DEBUG jclouds - Found jclouds sshj driver

DEBUG jclouds - extensions (:log4j :slf4j :sshj)

DEBUG jclouds - options [:jclouds.regions "us-east-1" :blobstore-provider
"aws-s3"]

ERROR logging - Exception in thread "main"

ERROR logging - com.google.inject.CreationException: Guice creation errors:


1) org.jclouds.rest.RestContext<org.jclouds.aws.ec2.AWSEC2Client, A> cannot
be used as a key; It is not fully specified.


1 error (form-init1840832622243453407.clj:1)

ERROR logging - at clojure.lang.Compiler.eval(Compiler.java:5440)

ERROR logging - at clojure.lang.Compiler.eval(Compiler.java:5415)

ERROR logging - at clojure.lang.Compiler.load(Compiler.java:5857)

ERROR logging - at clojure.lang.Compiler.loadFile(Compiler.java:5820)

ERROR logging - at clojure.main$load_script.invoke(main.clj:221)

ERROR logging - at clojure.main$init_opt.invoke(main.clj:226)

ERROR logging - at clojure.main$initialize.invoke(main.clj:254)

ERROR logging - at clojure.main$null_opt.invoke(main.clj:279)

ERROR logging - at clojure.main$main.doInvoke(main.clj:354)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:422)

ERROR logging - at clojure.lang.Var.invoke(Var.java:369)

ERROR logging - at clojure.lang.AFn.applyToHelper(AFn.java:165)

ERROR logging - at clojure.lang.Var.applyTo(Var.java:482)

ERROR logging - at clojure.main.main(main.java:37)

ERROR logging - Caused by: com.google.inject.CreationException: Guice
creation errors:


1) org.jclouds.rest.RestContext<org.jclouds.aws.ec2.AWSEC2Client, A> cannot
be used as a key; It is not fully specified.


1 error

ERROR logging - at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)

ERROR logging - at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)

ERROR logging - at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)

ERROR logging - at com.google.inject.Guice.createInjector(Guice.java:95)

ERROR logging - at
org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:324)

ERROR logging - at
org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:262)

ERROR logging - at
org.jclouds.ContextBuilder.buildView(ContextBuilder.java:524)

ERROR logging - at
org.jclouds.ContextBuilder.buildView(ContextBuilder.java:504)

ERROR logging - at
org.jclouds.compute2$compute_service.doInvoke(compute2.clj:92)

ERROR logging - at clojure.lang.RestFn.applyTo(RestFn.java:147)

ERROR logging - at clojure.core$apply.doInvoke(core.clj:548)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:562)

ERROR logging - at
pallet.compute.jclouds$eval5952$fn__5954.invoke(jclouds.clj:720)

ERROR logging - at clojure.lang.MultiFn.invoke(MultiFn.java:167)

ERROR logging - at pallet.compute$compute_service.doInvoke(compute.clj:36)

ERROR logging - at clojure.lang.RestFn.applyTo(RestFn.java:140)

ERROR logging - at clojure.core$apply.invoke(core.clj:542)

ERROR logging - at
pallet.configure$compute_service_from_map.invoke(configure.clj:176)

ERROR logging - at clojure.lang.Var.invoke(Var.java:365)

ERROR logging - at clojure.lang.AFn.applyToHelper(AFn.java:163)

ERROR logging - at clojure.lang.Var.applyTo(Var.java:482)

ERROR logging - at clojure.core$apply.invoke(core.clj:540)

ERROR logging - at
pallet.compute$compute_service_from_map.doInvoke(compute.clj:185)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:409)

ERROR logging - at backtype.storm.provision$mk_aws.invoke(provision.clj:120)

ERROR logging - at
backtype.storm.provision$_main.doInvoke(provision.clj:123)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:437)

ERROR logging - at clojure.lang.Var.invoke(Var.java:373)

ERROR logging - at user$eval5.invoke(form-init1840832622243453407.clj:1)

ERROR logging - at clojure.lang.Compiler.eval(Compiler.java:5424)

ERROR logging - ... 13 more

Any ideas of what I am doing wrong?

Thanks,
Nikos

-- 
Nikolaos Romanos Katsipoulakis,
University of Pittsburgh, PhD candidate

Re: Storm-deploy issue

Posted by Shepherd Kendall <sh...@newbrandanalytics.com>.
Make sure you¹re using the update-clojure-jclouds branch and not master when
working with this project.  That should fix your issue.

From:  "Nick R. Katsipoulakis" <ni...@gmail.com>
Reply-To:  <us...@storm.apache.org>
Date:  Thursday, February 19, 2015 at 6:03 PM
To:  <us...@storm.apache.org>
Subject:  Storm-deploy issue

Hello all,

I recently decided to try the storm-deploy project for deploying my
topologies. Therefore, I create an EC2 account and start an instance. I
follow the configuration steps, I configure the ~/.pallet/config.clj
accordingly and I leave the conf/clusters.yaml file with its default values.
However, when I execute the deploy-storm command I get the following:



storm@ip-172-31-40-189:~/storm-deploy$ lein deploy-storm --start --name
mycluster

INFO  execute - Output:

/home/storm/.ssh/id_rsa.pub



DEBUG execute - out

=> "/home/storm/.ssh/id_rsa.pub\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa



DEBUG execute - out

=> "/home/storm/.ssh/id_rsa\n"

INFO  execute - Output:

storm



DEBUG execute - out

=> "storm\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa.pub



DEBUG execute - out

=> "/home/storm/.ssh/id_rsa.pub\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa



DEBUG execute - out

=> "/home/storm/.ssh/id_rsa\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa.pub



DEBUG execute - out

=> "/home/storm/.ssh/id_rsa.pub\n"

INFO  execute - Output:

/home/storm/.ssh/id_rsa



DEBUG execute - out

=> "/home/storm/.ssh/id_rsa\n"

DEBUG jclouds - Found jclouds sshj driver

DEBUG jclouds - extensions (:log4j :slf4j :sshj)

DEBUG jclouds - options [:jclouds.regions "us-east-1" :blobstore-provider
"aws-s3"]

ERROR logging - Exception in thread "main"

ERROR logging - com.google.inject.CreationException: Guice creation errors:



1) org.jclouds.rest.RestContext<org.jclouds.aws.ec2.AWSEC2Client, A> cannot
be used as a key; It is not fully specified.



1 error (form-init1840832622243453407.clj:1)

ERROR logging - at clojure.lang.Compiler.eval(Compiler.java:5440)

ERROR logging - at clojure.lang.Compiler.eval(Compiler.java:5415)

ERROR logging - at clojure.lang.Compiler.load(Compiler.java:5857)

ERROR logging - at clojure.lang.Compiler.loadFile(Compiler.java:5820)

ERROR logging - at clojure.main$load_script.invoke(main.clj:221)

ERROR logging - at clojure.main$init_opt.invoke(main.clj:226)

ERROR logging - at clojure.main$initialize.invoke(main.clj:254)

ERROR logging - at clojure.main$null_opt.invoke(main.clj:279)

ERROR logging - at clojure.main$main.doInvoke(main.clj:354)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:422)

ERROR logging - at clojure.lang.Var.invoke(Var.java:369)

ERROR logging - at clojure.lang.AFn.applyToHelper(AFn.java:165)

ERROR logging - at clojure.lang.Var.applyTo(Var.java:482)

ERROR logging - at clojure.main.main(main.java:37)

ERROR logging - Caused by: com.google.inject.CreationException: Guice
creation errors:



1) org.jclouds.rest.RestContext<org.jclouds.aws.ec2.AWSEC2Client, A> cannot
be used as a key; It is not fully specified.



1 error

ERROR logging - at 
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors
.java:435)

ERROR logging - at 
com.google.inject.internal.InternalInjectorCreator.initializeStatically(Inte
rnalInjectorCreator.java:154)

ERROR logging - at 
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCre
ator.java:106)

ERROR logging - at com.google.inject.Guice.createInjector(Guice.java:95)

ERROR logging - at 
org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:324)

ERROR logging - at 
org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:262)

ERROR logging - at 
org.jclouds.ContextBuilder.buildView(ContextBuilder.java:524)

ERROR logging - at 
org.jclouds.ContextBuilder.buildView(ContextBuilder.java:504)

ERROR logging - at 
org.jclouds.compute2$compute_service.doInvoke(compute2.clj:92)

ERROR logging - at clojure.lang.RestFn.applyTo(RestFn.java:147)

ERROR logging - at clojure.core$apply.doInvoke(core.clj:548)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:562)

ERROR logging - at 
pallet.compute.jclouds$eval5952$fn__5954.invoke(jclouds.clj:720)

ERROR logging - at clojure.lang.MultiFn.invoke(MultiFn.java:167)

ERROR logging - at pallet.compute$compute_service.doInvoke(compute.clj:36)

ERROR logging - at clojure.lang.RestFn.applyTo(RestFn.java:140)

ERROR logging - at clojure.core$apply.invoke(core.clj:542)

ERROR logging - at 
pallet.configure$compute_service_from_map.invoke(configure.clj:176)

ERROR logging - at clojure.lang.Var.invoke(Var.java:365)

ERROR logging - at clojure.lang.AFn.applyToHelper(AFn.java:163)

ERROR logging - at clojure.lang.Var.applyTo(Var.java:482)

ERROR logging - at clojure.core$apply.invoke(core.clj:540)

ERROR logging - at 
pallet.compute$compute_service_from_map.doInvoke(compute.clj:185)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:409)

ERROR logging - at backtype.storm.provision$mk_aws.invoke(provision.clj:120)

ERROR logging - at 
backtype.storm.provision$_main.doInvoke(provision.clj:123)

ERROR logging - at clojure.lang.RestFn.invoke(RestFn.java:437)

ERROR logging - at clojure.lang.Var.invoke(Var.java:373)

ERROR logging - at user$eval5.invoke(form-init1840832622243453407.clj:1)

ERROR logging - at clojure.lang.Compiler.eval(Compiler.java:5424)

ERROR logging - ... 13 more


Any ideas of what I am doing wrong?

Thanks,
Nikos

-- 
Nikolaos Romanos Katsipoulakis,
University of Pittsburgh, PhD candidate