Re: Exception when connecting to Cassandra

2012-08-29 Thread Krishnanand Khambadkone
s To: dev@cassandra.apache.org; Krishnanand Khambadkone Sent: Wednesday, August 29, 2012 12:40 PM Subject: Re: Exception when connecting to Cassandra There's an example of using Thrift with Java in http://wiki.apache.org/cassandra/ThriftExamples, but I'd recommend using a higher-le

Re: Exception when connecting to Cassandra

2012-08-29 Thread Jonathan Ellis
There's an example of using Thrift with Java in http://wiki.apache.org/cassandra/ThriftExamples, but I'd recommend using a higher-level client from http://wiki.apache.org/cassandra/ClientOptions instead. On Wed, Aug 29, 2012 at 2:19 PM, Krishnanand Khambadkone wrote: > Hi, I am using Cassandra V

Exception when connecting to Cassandra

2012-08-29 Thread Krishnanand Khambadkone
Hi,  I am using Cassandra V1.1.4 (apache-cassandra-1.1.4).   I have a java client that tries to connect to cassandra using this code snippet, public void prepopulate(String host,int port) throws Exception {     transport = new TFramedTransport(new TSocket(host, port));     TProtoc