cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <static.void....@gmail.com>
Subject Re: Cassandra 0.7 Ruby/Thrift Bindings
Date Fri, 06 Aug 2010 16:57:35 GMT
Wow.. fast answer AND correct. In Cassandra.yml

# Frame size for thrift (maximum field length).
# 0 disables TFramedTransport in favor of TSocket.
thrift_framed_transport_size_in_mb: 15

I just had to change that value to 0 and everything worked. Now for my 
follow up question :)  What is the difference between these two and why 
does 0.7 default to true while earlier versions default to false? Thanks 
again!


On 8/6/10 9:51 AM, Ryan King wrote:
> Make sure the client and server are both using the same transport
> (framed vs. non)
>
> -ryan
>
> On Fri, Aug 6, 2010 at 9:47 AM, Mark<static.void.dev@gmail.com>  wrote:
>    
>> 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