Running code on pelops

2010-06-26 Thread GH
Still looking for Hector and Thrift code, but took some time on pelops... I am currently trying the pelops code base, I could not get the code from svn in google with the path supplied on the site. I downloaded the jar file and it is very well documented, very nice indeed. But I would like to work

Re: Call for input of cassandra, thrift , hector, pelops example / sample / test code snippets

2010-06-26 Thread GH
I believe that the code I grabbed from git is later than the latest download published on there then. Where would I find that code ? is it available to public (aka me :-) ), if not when would that be. If its a way off, i think I need a version of git that matches the released code base. On Sat, J

jline for client in eclipse

2010-07-03 Thread GH
I just loaded cassandra in eclipse and noted that the client code uses jline which does not work in eclipse ( a known issue). Are there any plans to either update jline or patch this issue. I noticed that this has been logged a few times to jline. The jline code has not been updated since 2008 I b

schema client code

2010-07-07 Thread GH
Hi, I just updated from 0.63 to trunk. With the removal of storage-conf.xml I am looking to write my API calls to build up my schema which I am fine with. I have located the API's but figured that there might be a best practice for doing this, in order to develop the code and populate data the must

Is anyone using version 0.7 schema update API

2010-07-11 Thread GH
I want to move on to 0.7 using this API rather than storage-conf.xml conversion. Any info that you can advise on how you used it would be much appreciated. Thanks Gavan

Re: Is anyone using version 0.7 schema update API

2010-07-11 Thread GH
sandra. There should be longer list than what I have discovered. > > > > But, 0.7 is really good. I love the one can dynamically create Key Space > and Column Family. Also, I love the key to be a byte array instead of > string. > > > > Enjoy the migrating. J > &g

Re: Is anyone using version 0.7 schema update API

2010-07-12 Thread GH
> On Sun, Jul 11, 2010 at 2:27 PM, GH wrote: > > Hi Dop, > > > > Do you have any code on dynamically creating KeySpace and ColumnFamily. > > Currently I was all but creating a new client to do that which seems to > be > > the wrong way. > > If you h

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread GH
in Black wrote: > I guess I don't understand what is so complicated about the schema > management calls that numerous examples are needed. > > On Mon, Jul 12, 2010 at 4:43 AM, GH wrote: > > Hi, > > My problem is that I cannot locate Java equivalents to the api calls

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread GH
12 AM, Benjamin Black wrote: > I updated the Ruby client to 0.7, but I am not a Cassandra committer > (and not much of a Java guy), so haven't touched the Java client. Is > there more to it than regenerating Thrift bindings? > > On Tue, Jul 13, 2010 at 1:42 AM, GH wrote: > >

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread GH
, Objective C/Cocoa, OCaml, Perl, PHP, Python, Ruby, > and Squeak" > > HTH > Dave Viner > > On Tue, Jul 13, 2010 at 6:05 PM, GH wrote: > >> >> To be honest I do not know how to regenerate the binidings, I will look >> into that. >> ollowing your ema

Re: Define keyspaces in cassandra 0.7

2010-07-20 Thread GH
Here is a snippet out of some of my test code to try, I cut out most of the irrellevant bits, hope it works for you... (the original code worked here :-) TSocket socket = new TSocket("localhost", 9160); TTransport transport; transport = socket; TBinaryProto