Re: TimeUUID Order Partitioner

2013-03-28 Thread Carlos Pérez Miguel
Apparently the MemTable..writeSortedContents has the same problem: I can see how it iterates over the stored keys in byte order, so my classes have something wrong. For the curious, these are my classes until now: https://gist.github.com/anonymous/5261611 Carlos Pérez Miguel 2013/3/28 aaron

Re: TimeUUID Order Partitioner

2013-03-27 Thread Carlos Pérez Miguel
er_id: eac850fa-96f4-11e2-9f22-72ad6af0e500 name:"a" user_id: f17f9ae8-96f4-11e2-98aa-421151417092 name:"b" user_id: f82fccfa-96f4-11e2-8d99-26f8461d074c name:"c" user_id: fee21cec-96f4-11e2-945b-f9a2a2e32308 name:"d" Any idea what's happening? Car

Re: TimeUUID Order Partitioner

2013-03-25 Thread Carlos Pérez Miguel
Yes it does. Thank you Aaron. Now I realized that the system keyspace uses string as keys, like "Ring" or "ClusterName", and I don't know how to convert these type of keys into UUID. Any idea? Carlos Pérez Miguel 2013/3/25 aaron morton > The best thing t

TimeUUID Order Partitioner

2013-03-24 Thread Carlos Pérez Miguel
custom Partitioner in order to do this. If I use ByteOrderedPartitioner rows are not correctly ordered because of the way a UUID stores the timestamp. What is needed in order to implement my own Partitioner? Thank you. Carlos Pérez Miguel

Re: read path, I have missed something

2013-01-16 Thread Carlos Pérez Miguel
a, ok. Now I understand where the data came from. When using CL.ALL read_repair always repairs inconsistent data. Thanks a lot, Sylvain. Carlos Pérez Miguel 2013/1/17 Sylvain Lebresne > You're missing the correct definition of read_repair_chance. > > When you do a read

read path, I have missed something

2013-01-16 Thread Carlos Pérez Miguel
te get KS1.CF1['data1'] with consistency level ALL -> still return the correct data! Where did that data come from? the endpoint is supposed to be empty of data. I tried this using cassandra-cli and cassandra's ruby client and the result is always the same. What did I miss? Thank you for reading until the end, ;) Bye Carlos Pérez Miguel

RandomPartitioner and the token limits

2012-10-03 Thread Carlos Pérez Miguel
not be in the range [0, (2**128)-1]? Anyway, if Cassandra uses only 127 bits of that 128 bits because it tries to convert this 128 bit into a signed int, tokens should not be in the range [0, 2**127) (first limit included, last not included)? Thank you Carlos Pérez Miguel

Re: specifying initial cassandra schema

2012-01-17 Thread Carlos Pérez Miguel
your cassandra.yaml file. If you execute it and there is already a schema in the cassandra cluster, you'll get a exception from schematool but no impact to the cluster. Bye Carlos Pérez Miguel 2012/1/17 Ramesh Natarajan : > I usually start cassandra and then use cassandra-cli to

Re: About initial token, autobootstraping and load balance

2012-01-15 Thread Carlos Pérez Miguel
Sorry, my english is not very well on sundays. By "partage" i mean "to share" and by greate I mean "great". Anyway, thanks everybody for your answers. Carlos Pérez Miguel El día 15 de enero de 2012 21:53, Carlos Pérez Miguel escribió: > If you can partage it

Re: About initial token, autobootstraping and load balance

2012-01-15 Thread Carlos Pérez Miguel
If you can partage it would be greate Carlos Pérez Miguel 2012/1/15 Віталій Тимчишин : > Yep. Have written groovy script this friday to perform autobalancing :) I am > going to add it to my jenkins soon. > > > 2012/1/15 Maxim Potekhin >> >> I see. Sure, that's

Re: About initial token, autobootstraping and load balance

2012-01-13 Thread Carlos Pérez Miguel
Thanks David for your explanation. What happens if autobootstrap is false in the configuration file? nodes seem to choose the correct token and balance well the cluster. In this case, how did each node to select its initial token? Carlos Pérez Miguel 2012/1/13 David McNelis : >

About initial token, autobootstraping and load balance

2012-01-13 Thread Carlos Pérez Miguel
node has initial token, nor autobootstraping. I restart the cluster with each test I want to make and in the end the cluster is always well balanced. Thanks Carlos Pérez Miguel

Re: about decommissioned node that returns

2011-12-20 Thread Carlos Pérez Miguel
its token it means that no collision is possible, isn't it? Thank you Carlos Pérez Miguel 2011/12/20 Brandon Williams : > On Tue, Dec 20, 2011 at 2:24 PM, aaron morton wrote: >> Sorry, got that a little wrong. >> >> At startup the node will use the higher of the c

about decommissioned node that returns

2011-12-20 Thread Carlos Pérez Miguel
process? - Or it will be ignored or reconnected with another token? - And what if it has changed its IP? Thank you Carlos Pérez Miguel