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: Error in TBaseHelper compareTo(byte [] a , byte [] b)
Date Mon, 03 May 2010 22:46:51 GMT
You'd need to check out thrift r820831, fix the compareTo code, then
build a new jar.

You can't just use the jar from 0.6 or from current thrift trunk
because Thrift breaks backwards compatibility frequently, and there
were such changes between our 0.5 and 0.6.

So, yes, you could do it, but it's probably easier to upgrade to 0.6.
And a good idea anyway because of the other fixes that went in.

On Mon, May 3, 2010 at 11:52 AM, Erik Holstad <erikholstad@gmail.com> wrote:
> Hey!
> We are currently using Cassandra 0.5.1 and I'm getting a StackOverflowError
> when
> comparing two ColumnOrSuperColumn objects. It turns out the the comparTo
> function
> for byte [] has an infinite loop in libthrift-r820831.jar.
>
> We are planning to upgrade to 0.6.1 but not ready to do it today', so just
> wanted to check
> if it is possible to get a jar where that bug has been fixed that works with
> 0.5, so we can
> just replace it?
>
> --
> Regards Erik
>



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

Mime
View raw message