Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Tyler Hobbs
I highly recommend using one of the existing Cassandra clientsinstead of writing your own. On Thu, Mar 24, 2011 at 10:17 AM, Anurag Gujral wrote: > Hi All, >I was able to resolve by making socket open. > Thanks > Anurag > > > On Thu, Mar

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
Hi All, I was able to resolve by making socket open. Thanks Anurag On Thu, Mar 24, 2011 at 7:48 AM, Anurag Gujral wrote: > Hi All, > I am using the following code as per suggestion by Ruslan >tr = new TSocket(url, port,timeout); >TTransport transport= new

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
Hi All, I am using the following code as per suggestion by Ruslan tr = new TSocket(url, port,timeout); TTransport transport= new TFramedTransport(tr); TProtocol proto = new TBinaryProtocol(transport); client = new Cassandra.Client(proto);

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
Hi Ruslan where is this framed transport defined. I did TProtocol proto = new TFramedTransport(tr); I am getting annot find symbol [javac] symbol : class TFramedTransport Please Suggest Thanks Anurag On Thu, Mar 24, 2011 at 2:13 AM, ruslan usifov wrote: > and where is transport creation for

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread ruslan usifov
and where is transport creation for your thrift interface? Cassandra 0.7 uses Framed transport as default 2011/3/24 Anurag Gujral > > I am using the following code to create my client. > > tr = new TSocket(url, port); > TProtocol proto = new TBinaryProtocol(tr); > client = new Cassandra.Client