Re: cassandra and .net

2012-04-10 Thread Jake Luciani
You can also look at using a .net client wrapper like https://github.com/managedfusion/fluentcassandra On Tue, Apr 10, 2012 at 8:06 AM, puneet loya wrote: > thankk :) :) it works :) > > > On Tue, Apr 10, 2012 at 3:07 PM, Henrik Schröder wrote: > >> In your code you are using BufferedTranspo

Re: cassandra and .net

2012-04-10 Thread puneet loya
thankk :) :) it works :) On Tue, Apr 10, 2012 at 3:07 PM, Henrik Schröder wrote: > In your code you are using BufferedTransport, but in the Cassandra logs > you're getting errors when it tries to use FramedTransport. If I remember > correctly, BufferedTransport is gone, so you should only u

Re: cassandra and .net

2012-04-10 Thread Henrik Schröder
In your code you are using BufferedTransport, but in the Cassandra logs you're getting errors when it tries to use FramedTransport. If I remember correctly, BufferedTransport is gone, so you should only use FramedTransport. Like this: TTransport transport = new TFramedTransport(new TSocket(host, p

Re: cassandra and .net

2012-04-10 Thread puneet loya
Log is showing the following exception DEBUG [ScheduledTasks:1] 2012-04-10 14:49:29,654 LoadBroadcaster.java (line 86) Disseminating load info ... DEBUG [Thrift:7] 2012-04-10 14:50:00,820 CustomTThreadPoolServer.java (line 197) Thrift transport error occurred during processing of message. org.apac

Re: cassandra and .net

2012-04-10 Thread puneet loya
dra.apache.org > *Subject: *Re: cassandra and .net > > hi, > > sorry i posted the port as 7000. I m using 9160 but still has the same > error. > > "Cannot read, Remote side has closed". > Can u guess whats happening?? > > On Tue, Apr 10, 2012 at 11:00 AM, Pierre

Re: cassandra and .net

2012-04-09 Thread Pierre Chalamet
Another tentative : try using TFramedTransport with an instance of TSocket directly. - Pierre -Original Message- From: puneet loya Date: Tue, 10 Apr 2012 11:06:22 To: Reply-To: user@cassandra.apache.org Subject: Re: cassandra and .net hi, sorry i posted the port as 7000. I m

Re: cassandra and .net

2012-04-09 Thread puneet loya
is using cassandra from datastax community center software an issue for not be able to connect with .net? On Tue, Apr 10, 2012 at 11:24 AM, Maki Watanabe wrote: > Check your cassandra log. > If you can't find any interesting log, set cassandra log level > to DEBUG and run your program again. > >

Re: cassandra and .net

2012-04-09 Thread Maki Watanabe
Check your cassandra log. If you can't find any interesting log, set cassandra log level to DEBUG and run your program again. maki 2012/4/10 puneet loya : > hi, > > sorry i posted the port as 7000. I m using 9160 but still has the same > error. > > "Cannot read, Remote side has closed". > Can u g

Re: cassandra and .net

2012-04-09 Thread puneet loya
hi, sorry i posted the port as 7000. I m using 9160 but still has the same error. "Cannot read, Remote side has closed". Can u guess whats happening?? On Tue, Apr 10, 2012 at 11:00 AM, Pierre Chalamet wrote: > hello, > > 9160 is probably the port to use if you use the default config. > > - Pier

Re: cassandra and .net

2012-04-09 Thread Pierre Chalamet
hello, 9160 is probably the port to use if you use the default config. - Pierre On Apr 10, 2012, at 7:26 AM, puneet loya wrote: > using System; > using System.Collections.Generic; > using System.Linq; > using System.Text; > using Thrift.Collections; > using Thrift.Protocol; > using Thrift.Tran

cassandra and .net

2012-04-09 Thread puneet loya
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Thrift.Collections; using Thrift.Protocol; using Thrift.Transport; using Apache.Cassandra; namespace ConsoleApplication1 { class Program { static void Main(string[] args) {

Re: Apache Cassandra and Net::Cassandra::Easy

2010-05-12 Thread Scott Doty
Well, ain't that a kick in the tush. :-/ I grabbed the svn trunk, but build failed, probably because Fedora 11 is too old for this bleeding edge stuff. Server is upgrading itself now, but I wondered: is anyone using an rpm-based distro for Net::Cassandra::Easy and the svn Cassandra? Thanks.

Re: Apache Cassandra and Net::Cassandra::Easy

2010-05-11 Thread Ted Zlatanov
On Tue, 11 May 2010 14:29:13 -0500 Jonathan Ellis wrote: JE> 2010/5/11 Ted Zlatanov : >> The latest N::C::Easy will not work with Cassandra 0.6.x, the only >> target is SVN trunk.  I can't discover the API version on the server so >> there's no way to anticipate such breakage as you see (I suspe

Re: Apache Cassandra and Net::Cassandra::Easy

2010-05-11 Thread Jonathan Ellis
2010/5/11 Ted Zlatanov : > The latest N::C::Easy will not work with Cassandra 0.6.x, the only > target is SVN trunk.  I can't discover the API version on the server so > there's no way to anticipate such breakage as you see (I suspect it's > due to API mismatch).  The Cassandra developers haven't a

Re: Apache Cassandra and Net::Cassandra::Easy

2010-05-11 Thread Scott Doty
On 05/11/2010 10:45 AM, Ted Zlatanov wrote: > SD> My prototype app can be seen here: > > SD> http://bito.ponzo.net/Hatchet/ > > > The latest N::C::Easy will not work with Cassandra 0.6.x, the only > target is SVN trunk. I can't discover the API version on the server so > there's no way to anticipa

Re: Apache Cassandra and Net::Cassandra::Easy

2010-05-11 Thread Ted Zlatanov
On Tue, 11 May 2010 09:40:02 -0700 Scott Doty wrote: SD> I'm trying to wrap my head around Net::Cassandra::Easy, and it's making SD> me cross-eyed. SD> My prototype app can be seen here: SD> http://bito.ponzo.net/Hatchet/ SD> The idea is to index logfiles by various keys, using Cassandra's ex

Apache Cassandra and Net::Cassandra::Easy

2010-05-11 Thread Scott Doty
Hi folks, I'm trying to wrap my head around Net::Cassandra::Easy, and it's making me cross-eyed. My prototype app can be seen here: http://bito.ponzo.net/Hatchet/ The idea is to index logfiles by various keys, using Cassandra's extreme write speed to keep up with the millions of lines of logfil