Re: Working with libcql

2013-07-10 Thread Shubham Mittal
--- > Aaron Morton > Freelance Cassandra Consultant > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 9/07/2013, at 9:46 PM, Shubham Mittal wrote: > > yeah I tried that and below is the output I get > > LOG: resolving remote host localhost:9160 &g

Re: Working with libcql

2013-07-09 Thread Shubham Mittal
www.thelastpickle.com > > On 9/07/2013, at 1:14 AM, Shubham Mittal wrote: > > Hi, > > I found out that there exist a C++ client libcql for cassandra but its > github repository just provides the example on how to connect to cassandra. > Is there anyone who has written some cod

Working with libcql

2013-07-08 Thread Shubham Mittal
Hi, I found out that there exist a C++ client libcql for cassandra but its github repository just provides the example on how to connect to cassandra. Is there anyone who has written some code using libcql to read and write data to a cassandra DB, kindly share it. Thanks

Use case of libcql

2013-07-05 Thread Shubham Mittal
Hi, Does anyone know about any working use case of libcql (c++ client for cassandra) because there is not much info on its github repo regarding how to use it. Thanks

Re: Partitioner type

2013-07-04 Thread Shubham Mittal
Yeah its possible, It depends on which client you're using. e,g. In pycassa(python client for cassandra), I use >> import pycassa >> from pycassa.system_manager import * >> sys = SystemManager('hostname:portnumber') >> sys.describe_partitioner() On Thu, Jul 4, 2013 at 5:32 PM, Vivek Mishra wr

Re: Problem with libcassandra

2013-07-03 Thread Shubham Mittal
column families because that operations fails if some of > your nodes is down, so by using cassandra-cli you force, in a way, the > supervision of a human being :D. > > good luck! > > > On Wed, Jul 3, 2013 at 9:12 AM, Shubham Mittal wrote: > >> Hey, >> &

Re: Problem with libcassandra

2013-07-03 Thread Shubham Mittal
ace libcassandra; static string host("127.0.0.1"); static int port= 9160; int main() { CassandraFactory cf(host, port); tr1::shared_ptr c(cf.create()); KeyspaceDefinition ks_def; ks_def.setName("demo"); return 0; } On Wed, Jul 3, 2013 at 5:22 PM, Shubham Mit

Re: Problem with libcassandra

2013-07-03 Thread Shubham Mittal
no Jordan, the cassandra version I have is Cassandra 1.1.12 On Wed, Jul 3, 2013 at 5:21 PM, Shubham Mittal wrote: > This is the gdb output > > [Thread debugging using libthread_db enabled] > terminate called after throwing an instance of > 'org::apache::cassandra::Inv

Re: Problem with libcassandra

2013-07-03 Thread Shubham Mittal
o.6 On Wed, Jul 3, 2013 at 8:38 AM, Jeremiah D Jordan wrote: > 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 wrote: > > I am trying to run below code, but it gives this error. I

Problem with libcassandra

2013-07-02 Thread Shubham Mittal
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():