1.0-5 and org/apache/thrift/TEnum ??
I recently updated from Hector 0.8-x to 1.0-5.
after upgrading hector at startup I'm now getting the following error:
NameError: cannot link Java class
org.apache.cassandra.thrift.ConsistencyLevel, probable missing
dependency: org/apache/thrift/TEnum
Now, you're prolly thinking, "that doesn't look like a normal java
error", and that's because it's actually from a JRuby application. I
dug through the jars which shipped with 1.0-5, and I couldn't find any
class named org.apache.thrift.TEnum, so I'm not sure where it's
supposed to be coming from or what might be the cause of the error.
Other then swapping hector versions, everything else is the same. Any
ideas? I read through the changelog and readme and didn't notice
anything that talks about this.
Thanks!
Full backtrace:
NameError: cannot link Java class
org.apache.cassandra.thrift.ConsistencyLevel, probable missing
dependency: org/apache/thrift/TEnum
for_name at org/jruby/javasupport/JavaClass.java:1205
get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
java_import at
/home/tools/torquebox/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/core_ext/object.rb:46
(root) at
/home/tools/spider-svn/spider/config/initializers/java.rb:28
load at org/jruby/RubyKernel.java:1068
load at
/home/tools/spider-svn/spider/config/initializers/java.rb:245
load_dependency at
/home/tools/gems/jruby/1.9/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236
load at
/home/tools/gems/jruby/1.9/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245
Engine at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/engine.rb:588
each at org/jruby/RubyArray.java:1615
Engine at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/engine.rb:587
instance_exec at org/jruby/RubyBasicObject.java:1757
run at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/initializable.rb:30
run_initializers at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/initializable.rb:55
each at org/jruby/RubyArray.java:1615
run_initializers at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/initializable.rb:54
initialize! at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/application.rb:136
__send__ at org/jruby/RubyBasicObject.java:1698
send at org/jruby/RubyKernel.java:2097
method_missing at
/home/tools/gems/jruby/1.9/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30
(root) at
/home/tools/spider-svn/spider/./script/../config/environment.rb:7
require at org/jruby/RubyKernel.java:1042
require at
/home/tools/spider-svn/spider/./script/../config/environment.rb:36
(root) at ./script/load_ncp.rb:2
--
--
Aaron Turner
http://synfin.net/ Twitter: <at> synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
"carpe diem quam minimum credula postero"