Re: client connecting to 0.7

2010-11-07 Thread CassUser CassUser
Thanks Edward, It was in fact the server config file. I thought i was missing the thrift_framed_transport property, but I don't see that in the Config.java file. Setting thrift_framed_transport_size_in_mb to something other than 0 enables framed on the server. Also mentioned here http://wiki.ap

Re: client connecting to 0.7

2010-11-06 Thread Edward Capriolo
On Fri, Nov 5, 2010 at 9:50 PM, CassUser CassUser wrote: > I agree and we will move to hector  at some point, but we have some legacy > code we need to convert to the new api.  What am I doing wrong in the code I > posted? > > > On Fri, Nov 5, 2010 at 5:45 PM, Jonathan Ellis wrote: >> >> From Jav

Re: client connecting to 0.7

2010-11-05 Thread CassUser CassUser
I agree and we will move to hector at some point, but we have some legacy code we need to convert to the new api. What am I doing wrong in the code I posted? On Fri, Nov 5, 2010 at 5:45 PM, Jonathan Ellis wrote: > From Java you should be using Hector instead of messing around with > raw Thrif

Re: client connecting to 0.7

2010-11-05 Thread Jonathan Ellis
>From Java you should be using Hector instead of messing around with raw Thrift. There is a version for beta2 at https://github.com/rantav/hector/downloads docs are at http://www.riptano.com/sites/default/files/hector-v2-client-doc.pdf On Fri, Nov 5, 2010 at 6:28 PM, CassUser CassUser wrote: >

client connecting to 0.7

2010-11-05 Thread CassUser CassUser
Hey I'm testing a client on beta2 cassandra version 0.7. TFramedTransport transport = new TFramedTransport(new TSocket("my.ip", 9160)); Cassandra.Client client = new Cassandra.Client(new TBinaryProtocol(transport)); transport.open(); System.out.println(client.descri