Re: Connection issue in Cassandra

2012-07-27 Thread Tyler Hobbs
On Thu, Jul 26, 2012 at 11:25 PM, Adeel Akbar wrote: > I used Cassandra 0.8.1 and pycasa 0.2. If I upgrade pycasa, then it have > compatibility issue. please suggest > You can use the latest version of pycassa with Cassandra 0.8. -- Tyler Hobbs DataStax

Re: Connection issue in Cassandra

2012-07-26 Thread Adeel Akbar
I used Cassandra 0.8.1 and pycasa 0.2. If I upgrade pycasa, then it have compatibility issue. please suggest Thanks & Regards *Adeel**Akbar* On 7/25/2012 10:13 PM, Tyler Hobbs wrote: That's a pretty old version of pycassa; it was release before 0.7.0 came out. I suggest upgrading. It's po

Re: Connection issue in Cassandra

2012-07-25 Thread Tyler Hobbs
That's a pretty old version of pycassa; it was release before 0.7.0 came out. I suggest upgrading. It's possible this was caused by an old bug, but in general, this indicates that you have more threads trying to use the ConnectionPool concurrently than there are connections. On Wed, Jul 25, 2012

RE: connection issue

2011-07-05 Thread Aayush Jain
Ok. Thanks vivek. From: Vivek Mishra Sent: 05 July 2011 13:00 To: user@cassandra.apache.org Subject: RE: connection issue I believe connection pooling is still not in place with latest CQL JDBC stuff. From: Aayush Jain Sent: Tuesday, July 05, 2011 9:55 AM To: user@cassandra.apache.org Subject

RE: connection issue

2011-07-05 Thread Vivek Mishra
I believe connection pooling is still not in place with latest CQL JDBC stuff. From: Aayush Jain Sent: Tuesday, July 05, 2011 9:55 AM To: user@cassandra.apache.org Subject: connection issue Hi, When I am using multithreading with Cassandra Query Language ,I have to make connections for each thre

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