Re: Connection issue with trunk using .net

2010-09-20 Thread Michal Augustýn
Yeah, the solution is the same. I wanted just to point out the connection lag issue that Morten could face too. Augi 2010/9/20 Michael Greene > Sorry, got threads mixed up, but yes the solution is the same. > > > On Mon, Sep 20, 2010 at 12:40 PM, Michael Greene > wrote: > >> That... is this th

Re: Connection issue with trunk using .net

2010-09-20 Thread Michael Greene
Sorry, got threads mixed up, but yes the solution is the same. On Mon, Sep 20, 2010 at 12:40 PM, Michael Greene wrote: > That... is this thread. I'm glad the solution works for you Morten. > > > On Mon, Sep 20, 2010 at 12:33 PM, Michal Augustýn < > augustyn.mic...@gmail.com> wrote: > >> Check th

Re: Connection issue with trunk using .net

2010-09-20 Thread Michael Greene
That... is this thread. I'm glad the solution works for you Morten. On Mon, Sep 20, 2010 at 12:33 PM, Michal Augustýn wrote: > Check this thread too: > http://www.mail-archive.com/user@cassandra.apache.org/msg06024.html > > Au

Re: Connection issue with trunk using .net

2010-09-20 Thread Michal Augustýn
Check this thread too: http://www.mail-archive.com/user@cassandra.apache.org/msg06024.html Augi 2010/9/20 Morten Wegelbye Nissen > On 19-09-2010 23:50, Michael Greene wrote: > >> Trunk (and 0.7) use Thrift's framed transport,

Re: Connection issue with trunk using .net

2010-09-19 Thread Morten Wegelbye Nissen
On 19-09-2010 23:50, Michael Greene wrote: Trunk (and 0.7) use Thrift's framed transport, so you should wrap your TSocket in a TFramedTransport. On 0.6 and earlier you should have been wrapping with a TBufferedTransport for better performance but the framed transport is inherently buffered.

Re: Connection issue with trunk using .net

2010-09-19 Thread Lucas Nodine
try this bit... TTransport transport = new TFramedTransport(new TSocket(Settings.Instance.Host.Address.ToString(), Settings.Instance.Host.Port)); TProtocol protocol = new TBinaryProtocol(transport); Cassandra.Client cassandra = new Cassandra.Client(protocol); HTH, - Lucas On Sun, Sep 19, 2010

Re: Connection issue with trunk using .net

2010-09-19 Thread Jonathan Ellis
it doesn't look like you're enabling framed mode. trunk changes framed to default on. On Sun, Sep 19, 2010 at 4:31 PM, Morten Wegelbye Nissen wrote: >  Hello List, > > Knowing this question might be more in the area of thrift then cassandra, > here goes: > > I have been trying to do some researc

Re: Connection issue with trunk using .net

2010-09-19 Thread Michael Greene
Trunk (and 0.7) use Thrift's framed transport, so you should wrap your TSocket in a TFramedTransport. On 0.6 and earlier you should have been wrapping with a TBufferedTransport for better performance but the framed transport is inherently buffered. On Sep 19, 2010, at 4:31 PM, Morten Wegelbye

Connection issue with trunk using .net

2010-09-19 Thread Morten Wegelbye Nissen
Hello List, Knowing this question might be more in the area of thrift then cassandra, here goes: I have been trying to do some research in using cassandra as backend for a system build for .net, but for some reason my client seams to terminat no matter what I do. I am using latest from tr