Re: Random errors using phpcassa

2012-07-08 Thread Marco Matarazzo
In fact, phpcassa is doing his work quite well. The error seems to be coming from cassandra, even if I still have to understand why. More precisely, the error is on the cql query prepare. I opened a bug for it, as we discovered the same problem on 3 different clusters. Maybe is something wron

Re: Random errors using phpcassa

2012-07-07 Thread Tyler Hobbs
phpcassa doesn't actually support CQL at all yet, it just doesn't stop you from grabbing the connection and trying to run a cql query anyways. So, I would expect quite a few things to randomly break. Additionally, you need to set the CQL API version to 3.0.0 (I believe) using set_cql_version() on

Random errors using phpcassa

2012-07-06 Thread Marco Matarazzo
Greetings. I am experiencing problems using a cassandra DB with phpcassa, but I am unable to understand if the error is on phpcassa client itself or on cassandra… As far as I understand, phpcassa just "pass" it to the thrift layer, and errors I am seeing are coming back from cassandra itself, s