This is the gdb output
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of
'org::apache::cassandra::InvalidRequestException'
what(): Default TException.
Program received signal SIGABRT, Aborted.
0x770a0b25 in raise () from /lib/libc.so.6
On
no Jordan, the cassandra version I have is Cassandra 1.1.12
On Wed, Jul 3, 2013 at 5:21 PM, Shubham Mittal smsmitta...@gmail.comwrote:
This is the gdb output
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of
Hey,
I found out that the problem is caused by this line :
c-createKeyspace(ks_def);
because the below code works fine.
#include string.h
#include sstream
#include iostream
#include stdlib.h
#include set
#include string
#include stdio.h
#include vector
#include libcassandra/cassandra_factory.h
That repo for libcassandra works for cassandra 0.7.x due to changes in the
thrift interface we have faced some problems in the past.
May be you can take a look to my fork of libcassandra https://github.com/axs
-mvd/libcassandra that we are using with cassandra 1.1.11.
Besides that, I recommend
hi Alexis,
Even if I create keyspaces, column families using cassandra-cli, the column
creation and insertion work will still need thrift calls.
On Wed, Jul 3, 2013 at 6:05 PM, Alexis Rodríguez arodrig...@inconcertcc.com
wrote:
That repo for libcassandra works for cassandra 0.7.x due to
Shubham,
You are right, my point is that with non schema-update thrift calls you can
tune the consistency level used.
bye.
On Wed, Jul 3, 2013 at 10:10 AM, Shubham Mittal smsmitta...@gmail.comwrote:
hi Alexis,
Even if I create keyspaces, column families using cassandra-cli, the
column
I am trying to run below code, but it gives this error. It compiles without
any errors. Kindly help me.
(source of the code :
http://posulliv.github.io/2011/02/27/libcassandra-sec-indexes/)
terminate called after throwing an instance of
'org::apache::cassandra::InvalidRequestException'
what():
Have you tried running your code in GDB to find which line is causing the
error? That would be what I'd do first.
Aaron Turner
http://synfin.net/ Twitter: @synfinatic
https://github.com/synfinatic/tcpreplay - Pcap editing and replay tools for
Unix Windows
Those who would give up
If you are using 1.2, I would checkout https://github.com/mstump/libcql
-Jeremiah
On Jul 2, 2013, at 5:18 AM, Shubham Mittal smsmitta...@gmail.com wrote:
I am trying to run below code, but it gives this error. It compiles without
any errors. Kindly help me.
(source of the code :