sstable2json and key ordering

2010-06-25 Thread Todd Nine
Hi all, I'm having a lot of problems getting Lucandra to correctly handle numeric document fields. After examining the keys it has written to the CF, I believe it may be an issue of column ordering by bytes. After dumping the CF with the test data using sstable2json, the keys are in opposite o

Re: hector or pelops

2010-06-25 Thread Todd Nine
I like both. Personally, I have switched from Hector to Pelops. Let me be clear, this is not because Hector is not a good client. Ran has done an excellent job with Hector, and it was what I initially used for my plugin. I preferred Pelops for my Datanucleus plugin since it requires slightly le

simple authentication in cascal

2010-06-25 Thread Steve Lihn
Searching how to use simple authentication in cascal. Couldn't find anything in API docs. Does anybody know how to do it? Thanks, Steve

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

2010-06-25 Thread Claire Chang
Do I have to leave the hinted hand off ON for all servers? thanks, claire On Jun 24, 2010, at 9:50 PM, Jonathan Ellis wrote: > Yes > > On Thu, Jun 24, 2010 at 10:33 PM, Claire Chang > wrote: >> if not? I assume upgrading from .6.2 from .6.1 is just updating the server >> binary? >> >> thanks,

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

2010-06-25 Thread Gavan Hood
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 bunch of classes that do not appear to resolve, some of them are: * KeyspaceOperatorFactory ** ClusterFactory *Cluster Are these classes f

Re: Map Reduce support

2010-06-25 Thread Drew Dahlke
The cassandra column family input format will go over a an entire column family sending a slice of a row into a mapper at a time. From there there's a lot you can do. As far as how you aggregate data together, I'd suggest experimenting with the latest version of Pig which thankfully supports the ne

Re: hector or pelops

2010-06-25 Thread Dimitry Lvovsky
We've been using Hector for a month or so now and are very happy with it, THANKS Ran! ;-). Haven't tried pelops though. On Thu, Jun 24, 2010 at 8:34 AM, Ran Tavory wrote: > on the wiki http://wiki.github.com/rantav/hector/ you can find: > > Example >

RE: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-25 Thread Dr . Martin Grabmüller
You can use the sever's name/IP-address+Port and mix it into the random seed. Martin From: David Boxenhorn [mailto:da...@lookin2.com] Sent: Friday, June 25, 2010 10:14 AM To: user@cassandra.apache.org Subject: Re: UUIDs whose al

RE: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-25 Thread Serdar Irmak
I think you have to use time in milliseconds + network card number (mac address) + a random number to genererate a uuid as microsoft .net framework. Iy guarantees uniqueness in a cluster Serdar - Thanks, Tatu! I'm going ahead with it.

Re: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-25 Thread David Boxenhorn
Thanks, Tatu! I'm going ahead with it. Now if something goes wrong I'll say: "But Tatu said..." (just kidding). I've replaced Random in the code above with SecureRandom, for that extra dose of randomness (my biggest worry was that Random self-seeds with System.currentTimeMillis(), and there is som