incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucas Di Pentima <lu...@di-pentima.com.ar>
Subject Re: ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1
Date Tue, 27 Apr 2010 22:12:26 GMT

El 27/04/2010, a las 19:00, Ryan King escribió:

> On Tue, Apr 27, 2010 at 2:29 PM, Lucas Di Pentima
> <lucas@di-pentima.com.ar> wrote:
>> 
>> El 27/04/2010, a las 18:11, Ryan King escribió:
>> 
>>> On Tue, Apr 27, 2010 at 1:38 PM, Lucas Di Pentima
>>> <lucas@di-pentima.com.ar> wrote:
>>> 
>>>> Nope, I'm doing some tests locally on my notebook (Macbook OSX 10.6.3 w/4GB
RAM). My script insert several hundred thousand columns with stable speed, and then it exits
throwing that exception.
>>> 
>>> Its possible you're running into a different problem then. Have you
>>> tried raising the timeout?
>> 
>> 
>> Sorry, but I don't know how to do that. Can you point me where to look? I looked
in cassandra gem and didn't found any timeout reference.
> 
> Its actually in thrift client, not the cassandra gem, I believe its
> something like:
> 
> Cassandra.new('Twitter', "127.0.0.1:9160", :timeout => 0.1) #timeout
> is in seconds.


Oops, missed socket.rb, thanks Ryan I'll give it a try. I noticed that is doesn't have any
default timeout value, so I'll start with 1.0 sec.

Best regards
--
Lucas Di Pentima - Santa Fe, Argentina
Jabber: lucas@di-pentima.com.ar
MSN: ldipenti75@hotmail.com





Mime
View raw message