cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <static.void....@gmail.com>
Subject Cassandra 0.7 Ruby/Thrift Bindings
Date Fri, 06 Aug 2010 16:47:19 GMT
Has anyone had any success using Cassandra 0.7 w/ ruby? I'm attempting 
to use the fauan/cassandra gem (http://github.com/fauna/cassandra/) 
which has explicit support for 0.7 but I keep receiving the following 
error message when making a request.

Thrift::TransportException: end of file reached
     from 
/usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/transport/socket.rb:119:in 
`read'
     from 
/usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/transport/buffered_transport.rb:50:in

`read'
     from 
/usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/transport/base_transport.rb:52:in

`read_all'
     from 
/usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/protocol/binary_protocol.rb:186:in

`read_i32'
     from 
/usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/protocol/binary_protocol.rb:111:in

`read_message_begin'
     from 
/usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/client.rb:45:in 
`receive_message'
...

Any ideas? Thanks

Mime
View raw message