Hello all,

I'm playing with Cassandra 0.6.0-rc1 on a MacOSX, with the 'cassandra' ruby gem.

I load some test data to it and I was trying the gem's get() API when I 
realized that if I call it some way like this:

db.get('SomeSCFName', 'SomeKey')

It returned me only 100 subcolumns when 'SomeKey' has approx 150000 subcolumns. 
Next I tried calling get() like this:

db.get('SomeSFCName', 'SomeKey', :count => N)

My problem is that when N is a number higher than 50000 (approximately), I get 
the following error:

Thrift::TransportException: Socket: Timed out reading 4096 bytes from 
127.0.0.1:9160

The same happens if I call:

db.count_columns('SomeSCFName', 'SomeKey')

...on the same 'SomeKey', but if I call count_columns() with some other key 
that holds less columns, it works without problems.

My setup is:

* Cassandra 0.6.0-rc1 downloaded from the website, with all default 
configurations
* Ruby 1.8.7
* Cassandra gem 0.8.1
* MacOSX 1.6.3

Any help will be appreciated!

--
Lucas Di Pentima - Santa Fe, Argentina
Jabber: lu...@di-pentima.com.ar
MSN: ldipent...@hotmail.com




Reply via email to