Kassandra: Keeping Values?

I wanted to try this weekend with Cassandra + PHP in my test environment. Therefore, after several hours of headache trying to fix it, I finally succeeded and got it.

However, I tried various PHP shells for cassandra, and I was completely unable to contact anyone. The SimpleCassie I want to use gives the following error when running the following code:

  /*
  * setting new column (and key if not exist)
  * @return - (false) on failure
  */
   $cassie->keyspace('MyApp')->cf('Users')->key('user1')->column('name')->set('Marcin');
   $cassie->column('surname')->set('Rosinski');

Error:

cassandra_InvalidRequestException: in /var/www/cassie/SimpleCassie.php on line 7257

What can I do to make it work? Thank!

+3
source share
1 answer

" , , . ".

, "MyApp", ""

+2

Source: https://habr.com/ru/post/1759663/


All Articles