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 l...@socialagency.com wrote: I am a newbie with Cassandra.  We are currently migrating a large amount of data

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

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 l...@socialagency.com wrote: If the connections are being made by individual PHP processes running from the command line, they shouldn't be using the same

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 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

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