Datastax agent - Connection issue

2015-07-08 Thread Francisco Andrade
Hi there, Im having some trouble here trying to execute the datastax agent on my cassandra nodes on ubuntu 14.04. I have a cassandra 2.0.15 cluster running on docker containers , so i guess my main problem must be related to the container port exposure. The cluster is ok. The nodetool status show

Re: Datastax Java Driver connection issue

2013-04-23 Thread aaron morton
> Just for clarification, why it is necessary to set the server rpc address to > 127.0.0.1? It's not necessary for it to be 127.0.0.1. But it is necessary for the server to be listening for client connections (the rpc_address) on the same interface / IP you are trying to connect to. In your ca

Re: Datastax Java Driver connection issue

2013-04-22 Thread Abhijit Chanda
Aaron, Just for clarification, why it is necessary to set the server rpc address to 127.0.0.1? On Mon, Apr 22, 2013 at 2:22 AM, aaron morton wrote: > Make sure that the server rpc_address is set to 127.0.0.1 > > Cheers > > - > Aaron Morton > Freelance Cassandra Consultant > New

Re: Datastax Java Driver connection issue

2013-04-21 Thread aaron morton
Make sure that the server rpc_address is set to 127.0.0.1 Cheers - Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 20/04/2013, at 1:47 PM, Techy Teck wrote: > I am also running into this problem. I have already enabled > st

Re: Datastax Java Driver connection issue

2013-04-19 Thread Techy Teck
I am also running into this problem. I have already enabled *start_native_transport: true* And by this, I am trying to make a connection- private CassandraDatastaxConnection() { try{ cluster = Cluster.builder().addContactPoint("localhost").build(); session = c

Re: Datastax Java Driver connection issue

2013-04-19 Thread Abhijit Chanda
@Gabriel, @Wright: thanks, such a silly of me. On Fri, Apr 19, 2013 at 6:48 PM, Keith Wright wrote: > Did you enable the binary protocol in Cassandra.yaml? > > Abhijit Chanda wrote: > > > Hi, > > I have downloaded the CQL driver provided by Datastax using > > com.datast

Re: Datastax Java Driver connection issue

2013-04-19 Thread Keith Wright
Did you enable the binary protocol in Cassandra.yaml? Abhijit Chanda wrote: Hi, I have downloaded the CQL driver provided by Datastax using com.datastax.cassandra cassandra-driver-core 1.0.0-beta2 Then tried a sample program to connect to

Re: Datastax Java Driver connection issue

2013-04-19 Thread Gabriel Ciuloaica
Have you started the native transport on cassandra nodes? Look into cassandra.yaml file, for native.transport. By default is disabled. Br, Gabi On 4/19/13 4:16 PM, Abhijit Chanda wrote: Hi, I have downloaded the CQL driver provided by Datastax using com.datastax.cassandra cassandra-dri

Datastax Java Driver connection issue

2013-04-19 Thread Abhijit Chanda
Hi, I have downloaded the CQL driver provided by Datastax using com.datastax.cassandra cassandra-driver-core 1.0.0-beta2 Then tried a sample program to connect to the cluster Cluster cluster = Cluster.builder() .addContactPoints

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

Connection issue in Cassandra

2012-07-25 Thread Adeel Akbar
Hi, I have created 2 node cluster and use with application. My application unable to connect with database. Please find below logs; NoConnectionAvailable at / ConnectionPool limit of size 2 overflow 2 reached, unable to obtain connection after 30 seconds Request Method: GET Reques

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

connection issue

2011-07-04 Thread Aayush Jain
Hi, When I am using multithreading with Cassandra Query Language ,I have to make connections for each thread. A single connection object for whole of the thread pool is not working. I am using JDBC for connectivity. I know ,I may be missing something. Any help/suggestions? ___

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