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 <erikhols...@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