incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: RE: batch_mutate failed: out of sequence response
Date Thu, 07 Apr 2011 02:04:24 GMT
"out of sequence response" is thrift's way of saying "I got a response
for request Y when I expected request X."

my money is on using a single connection from multiple threads.  don't do that.

On Wed, Apr 6, 2011 at 5:59 PM, Dan Washusen <dan@reactive.org> wrote:
> Pelops will retry when TimedOutException, TTransportException or
> UnavailableException exceptions are thrown but not TApplicationException.
>  TApplicationException has a type property which looks like it could be used
> to retry based on specific values.  Based on the names the INTERNAL_ERROR
> and BAD_SEQUENCE_ID types sound like good candidates for a retry.
> I just did a quick hunt through the Pycassa and Hector code and it doesn't
> look like they do anything special based on the type property.
> Jonathan (or other Cassandra gurus) should connection managers take
> different actions based on these type property of TApplicationException?
> Cheers,
> Dan
>
> On Wednesday, 6 April 2011 at 8:03 PM, Héctor Izquierdo Seliva wrote:
>
> El mié, 06-04-2011 a las 09:06 +1000, Dan Washusen escribió:
>
> Pelops raises a RuntimeException? Can you provide more info please?
>
> org.scale7.cassandra.pelops.exceptions.ApplicationException:
> batch_mutate failed: out of sequence response
>
> --
> Dan Washusen
> Make big files fly
> visit digitalpigeon.com
>
> On Tuesday, 5 April 2011 at 11:43 PM, Héctor Izquierdo Seliva wrote:
>
> El mar, 05-04-2011 a las 09:35 -0400, Dan Hendry escribió:
>
> I too have seen the out of sequence response problem. My solution
> has just been to retry and it seems to work. None of my mutations
> are THAT large (< 200 columns).
>
> The only related information I could find points to a
> thrift/ubuntu bug of some kind
> (http://markmail.org/message/xc3tskhhvsf5awz7). What OS are you
> running?
>
> Dan
>
> Hi Dan. I'm running on Debian stable and cassandra 0.7.4. I have
> rows
> with up to 1000 columns. I have changed the way I was doing the
> batch
> mutates to never be bigger than 100 columns at a time. I hope this
> will
> work, otherwise the move is going to take too long.
>
> The problem is aggravated by Pelops not retrying automatically and
> instead raising a RuntimeException.
>
> I'll try to add a retry if this doesn't work.
>
> Thanks for your response!
>
> Héctor
>
> -----Original Message-----
> From: Héctor Izquierdo Seliva [mailto:izquierdo@strands.com]
> Sent: April-05-11 8:30
> To: user@cassandra.apache.org
> Subject: batch_mutate failed: out of sequence response
>
> Hi everyone. I'm having trouble while inserting big amounts of
> data into
> cassandra. I'm getting this exception:
>
> batch_mutate failed: out of sequence response
>
> I'm gessing is due to very big mutates. I have made the batch
> mutates
> smaller and it seems to be behaving. Can somebody shed some light?
>
> Thanks!
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.894 / Virus Database: 271.1.1/3551 - Release Date:
> 04/05/11 02:34:00
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message