Re: Cassandra C client implementation

2011-12-16 Thread Vlad Paiu
n in 1.0.6. Any ideas ? Regards, Vlad Paiu OpenSIPS Developer On 12/16/2011 11:02 AM, Vlad Paiu wrote: Hello, Sorry, wrong link in the previous email. Proper link is http://svn.apache.org/viewvc/thrift/trunk/lib/c_glib/test/ Regards, Vlad Paiu OpenSIPS Developer On 12/15/2011 08:35 PM,

Re: Cassandra C client implementation

2011-12-16 Thread Vlad Paiu
Hello, Sorry, wrong link in the previous email. Proper link is http://svn.apache.org/viewvc/thrift/trunk/lib/c_glib/test/ Regards, Vlad Paiu OpenSIPS Developer On 12/15/2011 08:35 PM, Vlad Paiu wrote: Hello, While digging more for this I've found these : http://svn.apache.org/v

Re: Cassandra C client implementation

2011-12-15 Thread Vlad Paiu
ssandra 1.x. Perhaps there's room for some code sharing/collaboration on a >new library to supersede the existing libcassie+libcassandra. > > >On 2011-12-14, at 5:16 PM, Vlad Paiu wrote: > >> Hello Eric, >> >> We have that, thanks alot for the contribution.

Re: Cassandra C client implementation

2011-12-15 Thread Vlad Paiu
ted with the thrift Glib2 interface and gotten a "hello world" to work against cassandra 1.x. Perhaps there's room for some code sharing/collaboration on a new library to supersede the existing libcassie+libcassandra. On 2011-12-14, at 5:16 PM, Vlad Paiu wrote: Hello Eric, We ha

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
at the API functions are called, and guessing them is not going that good :) I'll wait a little longer & see if anybody can help with the C thrift, or at least tell me it's not working. :) Regards, Vlad Eric Tamme wrote: >On 12/14/2011 04:18 PM, Vlad Paiu wrote: >> H

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
Hi, Just tried libcassie and seems it's not compatible with latest cassandra, as even simple inserts and fetches fail with InvalidRequestException... So can anybody please provide a very simple example in C for connecting & fetching columns with thrift ? Regards, Vlad Vlad Pa

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
or it, it is new and has some issues... >https://issues.apache.org/jira/browse/THRIFT/component/12313854 > > >On 12/14/2011 09:11 AM, Vlad Paiu wrote: >> Hello, >> >> I am trying to integrate some Cassandra related ops ( insert, get, etc ) >> into an applic

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
t;Sent via BlackBerry® from China Mobile > >-Original Message- >From: i...@iyyang.com >Date: Wed, 14 Dec 2011 15:52:56 >To: >Reply-To: i...@iyyang.com >Subject: Re: Cassandra C client implementation > >Try libcassandra, but it doesn't support connectio

Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
Hello, I am trying to integrate some Cassandra related ops ( insert, get, etc ) into an application written entirelly in C, so C++ is not an option. Is there any C client library for cassandra ? I have also tried to generate thrift glibc code for Cassandra, but on wiki.apache.org/cassandra/Th

Re: Cassandra Counters and TTL

2011-11-07 Thread Vlad Paiu
Hello, Thanks for your answer. See my reply in-line. On 11/04/2011 01:46 PM, Amit Chavan wrote: Answers inline. On Fri, Nov 4, 2011 at 4:59 PM, Vlad Paiu <mailto:vladp...@opensips.org>> wrote: Hello, I'm a new user of Cassandra and I think it's great. Stil

Cassandra Counters and TTL

2011-11-04 Thread Vlad Paiu
s there any way to atomically reset a counter ? I read on the website that the only way to do it is read the variable value, and then set it to -value, which seems rather bogus to me. Regards, -- Vlad Paiu OpenSIPS Developer