Re: Cassandra 0.7 Ruby/Thrift Bindings

2010-08-06 Thread Benjamin Black
Ryan, I believe my branch was merged into fauna some time ago by jmhodges. However, 0.7 support must be explicitly enabled by require 'cassandra/0.7' as it currently defaults to 0.6. b On Fri, Aug 6, 2010 at 10:02 AM, Ryan King wrote: > On Fri, Aug 6, 2010 at 9:57 AM, Mark wrote: >> Wow.. fas

Re: Cassandra 0.7 Ruby/Thrift Bindings

2010-08-06 Thread Jonathan Ellis
We are defaulting to framed in 0.7 because it enables the fix to https://issues.apache.org/jira/browse/CASSANDRA-475 I am strongly in favor of removing the unframed option entirely in 0.8 On Fri, Aug 6, 2010 at 12:57 PM, Mark wrote: > Wow.. fast answer AND correct. In Cassandra.yml > > # Frame s

Re: Cassandra 0.7 Ruby/Thrift Bindings

2010-08-06 Thread Ryan King
On Fri, Aug 6, 2010 at 9:57 AM, Mark wrote: > 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 wo

Re: Cassandra 0.7 Ruby/Thrift Bindings

2010-08-06 Thread Mark
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 dif

Re: Cassandra 0.7 Ruby/Thrift Bindings

2010-08-06 Thread Ryan King
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 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

Cassandra 0.7 Ruby/Thrift Bindings

2010-08-06 Thread Mark
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