Re: frequent "unknown result" errors

2010-04-15 Thread Michael Pearson
Lee, I dropped (official) 0.5 support from Pandra yesterday and committed 0.6 Thrift files, if you're still considering that upgrade... worth a shot imo. -michael On Tue, Apr 13, 2010 at 7:19 AM, Lee Parker wrote: > So, it didn't get rid of the problem, i'm still getting the errors.  The > only

Re: frequent "unknown result" errors

2010-04-12 Thread Lee Parker
So, it didn't get rid of the problem, i'm still getting the errors. The only thing I can think of now is top upgrade to 0.6, but I would prefer to stay with the current stable release. I have regenerated the thrift code for 0.5.0 and there is no difference between those files and the ones i'm usi

Re: frequent "unknown result" errors

2010-04-12 Thread Keith Thornhill
i also noticed "unknown result" errors when my php thrift code was generated using a different version of thrift than cassandra uses. after regenerating my php code from thrift-r917130 (for cassandra-0.6.0-rc1), the errors stopped. -keith On Mon, Apr 12, 2010 at 9:40 AM, vineet daniel wrote: >

Re: frequent "unknown result" errors

2010-04-12 Thread vineet daniel
can you post the code On Mon, Apr 12, 2010 at 9:22 PM, Lee Parker wrote: > According to his docs, he says you need Cassandra >= 0.5.0. I guess it is > possible that the included thrift files are targeted at 0.6, but I don't see > the "batch_mutate" method which is part of 0.6. So I'm assuming

Re: frequent "unknown result" errors

2010-04-12 Thread Lee Parker
According to his docs, he says you need Cassandra >= 0.5.0. I guess it is possible that the included thrift files are targeted at 0.6, but I don't see the "batch_mutate" method which is part of 0.6. So I'm assuming that it should work fine with 0.5.0. I have now changed some of those entries in

Re: frequent "unknown result" errors

2010-04-12 Thread Jonathan Ellis
Pandra is probably targetting 0.6. If you're just starting, there's no reason for you not to use 0.6 over 0.5 now. On Mon, Apr 12, 2010 at 10:42 AM, Lee Parker wrote: > I'm using the thrift client which is packaged with Pandra and my cassandra > version is 0.5.0 which is in the debian packages.

Re: frequent "unknown result" errors

2010-04-12 Thread Lee Parker
I'm using the thrift client which is packaged with Pandra and my cassandra version is 0.5.0 which is in the debian packages. How can i tell which version of Thrift i'm using? Lee On Mon, Apr 12, 2010 at 10:30 AM, Jonathan Ellis wrote: > Then you're probably using a client incompatible with the

Re: frequent "unknown result" errors

2010-04-12 Thread Jonathan Ellis
Then you're probably using a client incompatible with the server version you're using. On Mon, Apr 12, 2010 at 10:24 AM, Lee Parker wrote: > If the connections are being made by individual PHP processes running from > the command line, they shouldn't be using the same connection.  Should my > cod

Re: frequent "unknown result" errors

2010-04-12 Thread Lee Parker
If the connections are being made by individual PHP processes running from the command line, they shouldn't be using the same connection. Should my code close the connections after each query and open a new one? Here is the flow of what is happening when we get the error: 1. Get a set of items fr

Re: frequent "unknown result" errors

2010-04-12 Thread Jonathan Ellis
unknown result means thrift is badly confused. You will get this when using the same thrift connection from multiple threads, for instance. On Mon, Apr 12, 2010 at 10:02 AM, Lee Parker wrote: > I am a newbie with Cassandra.  We are currently migrating a large amount of > data out of MySQL into C

frequent "unknown result" errors

2010-04-12 Thread Lee Parker
I am a newbie with Cassandra. We are currently migrating a large amount of data out of MySQL into Cassandra. I have two ColumnFamilies. One contains one row per item and each item has roughly 12 columns. These are items from REST APIs like the Twitter API. Then I have a second ColumnFamily wit