PlanetJava
Custom Search

java-clojure-storm
[Top] [All Lists]

Re: Having getting baseline storm-deploy to work

Subject: Re: Having getting baseline storm-deploy to work
Date: Thu, 16 Aug 2012 18:38:23 -0700 (PDT)
Trying storm-deploy myself for the first time tonight and getting this same 
error trying to launch. Did anyone ever figure out what the problem was?
On Wednesday, April 4, 2012 4:57:10 AM UTC-5, nathanmarz wrote:
>
> I'm unlikely to make too many modifications to storm-deploy, especially 
> for issues that don't affect me. I will accept pull requests though.
>
> On Sun, Apr 1, 2012 at 12:06 PM, Hugo Duncan 
> <[email protected]<javascript:>
> > wrote:
>
>> As Oscar Fernandez reminds me on the pallet-clj list, lein new templates 
>> will also cause this behaviour.
>>
>> I'll add a patch to 0.6.x, as described on pallet-clj.
>>
>> Nathan: not sure how you would like to pick up patches like this that 
>> affect storm-deply.
>>
>> On Saturday, March 31, 2012 9:29:16 AM UTC-4, Hugo Duncan wrote:
>>>
>>> Nathan Marz writes:
>>>
>>> > I took a look, and your config seems fine. I was able to run the deploy
>>> > myself without issue. cc'ing the pallet list to see if they have any 
>>> ideas.
>>> >
>>> > On Tue, Mar 27, 2012 at 2:18 PM, Anthony Johnson wrote:
>>> >
>>> >> So, I'm trying to follow the basic instruction for using 
>>> storm-deploy...
>>> >> which seems like it should be simple enough, and apparently people 
>>> are able
>>> >> to get this to run, but i'm not having any luck.
>>> >>
>>> >> Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
>>> >> java.lang.RuntimeException: java.lang.ClassCastException:
>>> >> clojure.lang.**PersistentArrayMap cannot be cast to 
>>> clojure.lang.Named
>>> >> at clojure.lang.LazySeq.sval(**LazySeq.java:47)
>>> >> at clojure.lang.LazySeq.seq(**LazySeq.java:56)
>>> >> at clojure.lang.Cons.next(Cons.**java:39)
>>> >> at clojure.lang.**PersistentHashSet.create(**
>>> PersistentHashSet.java:43)
>>> >> at clojure.core$set.invoke(core.**clj:3166)
>>> >> at pallet.compute.implementation$**providers.invoke(**
>>> implementation.clj:28)
>>> >>
>>> >> Any ideas?
>>>
>>> This error has something to do with the classpath, and is I think
>>> unrelated to ~/.pallet/config.clj.
>>>
>>> The exception is apparently caused by clojure.contrib's
>>> find-namespaces-on-classpath returning a map instead of a namespace
>>> symbol.
>>>
>>> The only way I can see this happening is if there is a file somewhere on
>>> the classpath with a `ns` form that incorrectly tries setting metadata
>>> using a map, eg.
>>>
>>>     (ns {:doc "Some doc"} my.ns ....)
>>>
>>> instead of,
>>>
>>>     (ns ^{:doc "Some doc"} my.ns ....)
>>>
>>> Since this works for Nathan, I assume that the classpath is somehow
>>> getting extra entries on it. 
>>>
>>> Anthony, might you have a CLASSPATH environment variable set? If so
>>> could you try removing it and running storm deploy again?
>>>
>>> Hugo
>>>
>>>
>
>
> -- 
> Twitter: @nathanmarz
> http://nathanmarz.com
>
>
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • Re: Having getting baseline storm-deploy to work,
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy