colinsurprenant / redstorm

JRuby on Storm
Other
298 stars 56 forks source link

OutputCollector alias bug #95

Closed ismith closed 10 years ago

ismith commented 10 years ago
LoadError: load error: red_storm/dsl/output_collector -- java.lang.ClassNotFoundException: backtype/storm/tuple/Tuple

I'm not sure why this occurs, but the output_collector alias of :emit_anchor_tuple keeps redstorm from loading for me; with the below change, it runs fine. (I have not been able to run redstorm's own spec tests due to some bundler problems, but this is reproducable in pry by loading the jars and classes, then `require 'red_storm'.)

ismith commented 10 years ago

Follow up: got redstorm's specs running. Error doesn't repro there, but I do see it in my own usage (where it's being loaded in a spec/redstorm_spec_helper, modeled after redstorm-starter's spec_helper). And my ivy dependencies are a superset of redstorm-starter's.

(Jruby-1.7.11, OS X and Ubuntu both.)

colinsurprenant commented 10 years ago

thanks @ismith for the heads up. I am not sure wha't happening here, I can't reproduce locally, but as you're saying in your last comment about redstorm_spec_helper this seems related. Let me dig into this a bit to actually understand what is happening to make sure this is the right fix.

ismith commented 10 years ago

Thanks - it works in my environment, but without a repro case, a test, or an understanding of what's going on, it's not really mergeable.

ismith commented 10 years ago

Closing; reopened as #103 from another repo and branch.