Question about Token selection for order-preserving partitioner

2010-02-16 Thread Nguyễn Minh Kha
Hi, I read the wiki topic Operationshttp://wiki.apache.org/cassandra/Operationsand I don't understant way to use Token selection for order-preserving partitioner (application-dependent). I want create blog comment use TimeUUIDType and order-preserving for range query, this cluster run in 3 nodes.

Re: Question about Token selection for order-preserving partitioner

2010-02-16 Thread Nguyễn Minh Kha
) and/or adding new nodes to hot spots.]' I don't know [application-dependent]. And I don't know config seeds section every node. Sorry for my english. On Tue, Feb 16, 2010 at 7:58 PM, Wojciech Kaczmarek kaczmare...@gmail.comwrote: Hi! 2010/2/16 Nguyễn Minh Kha nminh...@gmail.com I read

Re: Question about Token selection for order-preserving partitioner

2010-02-16 Thread Nguyễn Minh Kha
InitialToken empty. It would help if you told us what the semantics of your keys are. 2010/2/16 Nguyễn Minh Kha nminh...@gmail.com Hi! I think, my question is not clearly. I don't know to config these nodes for this cluster. I want to use TimeUUIDType and order-preserving partitioner

Re: How to UUID in .Net

2010-01-13 Thread Nguyễn Minh Kha
Thank Jonathan, I will try to port to C Sharp. On Sat, Jan 9, 2010 at 7:47 AM, Jonathan Ellis jbel...@gmail.com wrote: I didn't see any C# libraries that generate type 1 UUIDs. You might have to port this one from java: http://johannburkard.de/software/uuid/ 2010/1/8 Nguyễn Minh Kha nminh

How to UUID in .Net

2010-01-08 Thread Nguyễn Minh Kha
Hi, I'm writing Cassandra in .Net (C Sharp) but I have a problem on gen a UUID for my project. I used Guid to gen UUID Version 1 but when I add to Cassandra thow an exception TimeUUID only makes sense with version 1 UUIDs I used uuidgen.exe (Windows SDK) to gen this Guid. Pls help me resolve