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