Re: Getting Exception when doing a range query using token (worked in 6.5 not in 6.6)

2010-11-16 Thread Jonathan Ellis
Sorry, my mistake: this is bug http://issues.apache.org/jira/browse/CASSANDRA-1700. I've committed the fix to the 0.6 svn branch; it will be in 0.6.9. On Mon, Nov 15, 2010 at 7:34 PM, Jonathan Ellis wrote: > TimedOutException means the host that your client is talking to sent > the request to an

Re: Getting Exception when doing a range query using token (worked in 6.5 not in 6.6)

2010-11-15 Thread Aaron Morton
In this case you could try subtracting 1 from the right hand side token. AFAIK the recommended approach to reading all rows in a CF is to use keys on the KeyRange see http://wiki.apache.org/cassandra/FAQ#iter_worldTokens are more of an internal feature there to support the Hadoop integration http:/

Re: Getting Exception when doing a range query using token (worked in 6.5 not in 6.6)

2010-11-15 Thread Anand Somani
I only have 1 node (not a cluster), so not sure what another machine it is trying to send to? This is a very basic test that I am doing, hence only 1 node. I use describe_ring to get a list of TokenRanges (1 in this case) and use the end_token and start_token from it to get_range_slices. So what s

Re: Getting Exception when doing a range query using token (worked in 6.5 not in 6.6)

2010-11-15 Thread Jonathan Ellis
TimedOutException means the host that your client is talking to sent the request to another machine, which threw the logged exception and thus did not reply. You're doing an illegal query; token-based queries have to be on non-wrapping ranges (left token < right token), or a wrapping range of (min

Getting Exception when doing a range query using token (worked in 6.5 not in 6.6)

2010-11-15 Thread Anand Somani
Hi Problem: Call - client.get_range_slices(). Using tokens (not keys), fails with TimedoutException which I think is misleading (Read on) Server : Works with 6.5 server, but not with 6.6 or 6.8 Client: have tried both 6.5 and 6.6 I am getting a TimedoutException when I do a get_ran