Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread GH
Very cool stuff, thanks for the info Dave, I will give this a shot... On Wed, Jul 14, 2010 at 1:03 PM, Dave Viner wrote: > Check out step 4 of this page: > https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP > > ./compiler/cpp/thrift -gen php > ../PATH-TO-CASSANDRA/interface/cassan

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread Dave Viner
Check out step 4 of this page: https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP ./compiler/cpp/thrift -gen php ../PATH-TO-CASSANDRA/interface/cassandra.thrift That is how to compile the thrift client from the cassandra bindings. Just replace the "php" with the language of your ch

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread GH
To be honest I do not know how to regenerate the binidings, I will look into that. ollowing your email, I went on and took the unit test code and created a client. Given that this code works I am guessing that the thrift bindings are in place and it is more that the client code does not support the

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread Benjamin Black
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: > They are not complicated, its more that they are not in the p

Re: Is anyone using version 0.7 schema update API

2010-07-13 Thread GH
They are not complicated, its more that they are not in the package that they should be in. I assume the client package exposes the functionality of the server and it does not have the ability to manage the tables in the database that to me seems to be extremely limiting. When I did not see that co

Re: Is anyone using version 0.7 schema update API

2010-07-12 Thread Benjamin Black
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 you > present in the ruby files you have presented. They a

Re: Is anyone using version 0.7 schema update API

2010-07-12 Thread GH
Hi, My problem is that I cannot locate Java equivalents to the api calls you present in the ruby files you have presented. They are not visible in the java client packages I have (My code is not that old of trunk). I located the code below from some of the unit test code files This code will h

Re: Is anyone using version 0.7 schema update API

2010-07-11 Thread Benjamin Black
http://github.com/fauna/cassandra/tree/master/lib/cassandra/0.7/ Unclear to me what problems you are experiencing. 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 d

RE: Is anyone using version 0.7 schema update API

2010-07-11 Thread Dop Sun
[mailto:gavan.h...@gmail.com] Sent: Monday, July 12, 2010 5:28 AM To: user@cassandra.apache.org Subject: Re: Is anyone using version 0.7 schema update API 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

Re: Is anyone using version 0.7 schema update API

2010-07-11 Thread GH
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 have something that works that will put me on the right track I hope. Gavan On Mon, Jul 12, 2010 at 2:41 AM, Dop Sun

RE: Is anyone using version 0.7 schema update API

2010-07-11 Thread Dop Sun
Based on current source codes in the head, moving from 0.6.x to 0.7, means some code changes in the client side (other than server side changes, like storage_conf.xml). Something like: 1. New Clock class instead of timestamp: this may be trivia, but it takes some time to change 2.

Re: Is anyone using version 0.7 schema update API

2010-07-11 Thread Roger Schildmeijer
http://wiki.apache.org/cassandra/LiveSchemaUpdates On 11 jul 2010, at 14.42em, GH wrote: > 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