cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <r...@twitter.com>
Subject Re: ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1
Date Tue, 27 Apr 2010 22:00:24 GMT
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.

-ryan

Mime
View raw message