Re: timed-out retrieving a giant row.

2012-02-14 Thread Todd Burruss
Date: Tue, 14 Feb 2012 14:46:08 -0800 To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: timed-out retrieving a giant row. Thanks Robin! :) On Tue, Feb 14, 2012 at 12:23 PM, R. Verlangen mailto:ro...@u

Re: timed-out retrieving a giant row.

2012-02-14 Thread Yuhan Zhang
Thanks Robin! :) On Tue, Feb 14, 2012 at 12:23 PM, R. Verlangen wrote: > Of course you should set your limit to 100 or something like that, not > Integer.MAX_VALUE ;-) > > 2012/2/14 R. Verlangen > > I'm familiar to this in PHPCassa, but with Hector it would be something >> like this: >> >> Quer

Re: timed-out retrieving a giant row.

2012-02-14 Thread R. Verlangen
Of course you should set your limit to 100 or something like that, not Integer.MAX_VALUE ;-) 2012/2/14 R. Verlangen > I'm familiar to this in PHPCassa, but with Hector it would be something > like this: > > Query you CF with a range.setStart(lastColName) and > range.setFinish(StringUtils.byte(""

Re: timed-out retrieving a giant row.

2012-02-14 Thread R. Verlangen
I'm familiar to this in PHPCassa, but with Hector it would be something like this: Query you CF with a range.setStart(lastColName) and range.setFinish(StringUtils.byte("") where the " lastColName " is the name of the column from the previous read. You can continue this until you run out of result

timed-out retrieving a giant row.

2012-02-14 Thread Yuhan Zhang
Hi all, I'm using the Hector client 0.8, trying to retrieve a list of IDs from a gaint row. each ID is a columnName in the row It works ok when there's not many IDs, but SliceQuery starts to time-out after the row becomes big. Is this approach the correct way to store a list of IDs? are there som