RE: About Remove API

2010-06-26 Thread Dop Sun
Aha, I believe it's explained here: http://spyced.blogspot.com/2010/02/distributed-deletes-in-cassandra.html Thanks, Regards, Dop From: Dop Sun [mailto:su...@dopsun.com] Sent: Sunday, June 27, 2010 6:56 AM To: user@cassandra.apache.org Subject: About Remove API Hi, I was reminde

About Remove API

2010-06-26 Thread Dop Sun
Hi, I was reminded that there is a Remove API, which can delete the whole rows by specifying the timestamp, key, and column family (in this case, super_column or column are optional). But I found, even I delete all rows for the specified keys with this method, the get_range_slices API will

Re: Distributed work-queues?

2010-06-26 Thread Jonathan Shook
Ideas: Use a checkpoint that moves forward in time for each logical partition of the workload. Establish a way of dividing up jobs between clients that doesn't require synchronization. One way of doing this would be to modulo the key by the number of logical workers, allowing them to graze direct

Re: Distributed work-queues?

2010-06-26 Thread Vram Kouramajian
We have implemented a distributed queue (similar to AWS SQS) and a job queue in Cassandra. Vram On Sat, Jun 26, 2010 at 1:56 PM, Andrew Miklas wrote: > Hi all, > > Has anyone written a work-queue implementation using Cassandra? > > There's a section in the UseCase wiki page for "A distributed

Distributed work-queues?

2010-06-26 Thread Andrew Miklas
Hi all, Has anyone written a work-queue implementation using Cassandra? There's a section in the UseCase wiki page for "A distributed Priority Job Queue" which looks perfect, but unfortunately it hasn't been filled in yet. http://wiki.apache.org/cassandra/UseCases#A_distributed_Priority_Job

geo distance calculations

2010-06-26 Thread Joseph Stein
I believe I have asked before but now that I am really getting into the weeds with this it seems I am about to go down the MongoDB path... before I do let me ask again (as I would prefer to stick with Cassandra for this app) Has anyone implemented geo (long & lat) calculations (distance) using Cas

Re: simple authentication in cascal

2010-06-26 Thread Chris Shorrock
Hey Steve, What type of authentication are you looking to do? Cassandra itself doesn't, as far as I know, support any sort of user setup or authentication so it's on the onus of the application developer to lock things down appropriately. Chris On Fri, Jun 25, 2010 at 5:42 PM, Steve Lihn wrote:

Re: Can 0.6.2 and 0.6.1 servers coexist in a cluster?

2010-06-26 Thread Brandon Williams
On Fri, Jun 25, 2010 at 4:27 PM, Claire Chang wrote: > Do I have to leave the hinted hand off ON for all servers? > No, if your goal is to end up disabling HH, then you can leave it off on the 0.6.2 servers, and when you upgrade the 0.6.1 servers disable it there, then run cleanup on them all to

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

2010-06-26 Thread Ran Tavory
On Sat, Jun 26, 2010 at 4:58 PM, GH wrote: > I believe that the code I grabbed from git is later than the latest > download published on there then. > true. All the new classes you mentioned are new. > > Where would I find that code ? is it available to public (aka me :-) ), if > not when would

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

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

2010-06-26 Thread Ran Tavory
these classes are from a newer version and they should not exist in version 14. On Fri, Jun 25, 2010 at 3:42 PM, Gavan Hood wrote: > Hi Ran, > > I downloaded the git code, I think I have something up with my versioning, > i have the latest build 0.6.0.14 of hector and the git download, i have a

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