Re: About initial token, autobootstraping and load balance

2012-01-16 Thread Віталій Тимчишин
Yep, I think I can. Here you are: https://github.com/tivv/cassandra-balancer 2012/1/15 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 > > g

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 would be greate > > Carlos Pérez M

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 a bit more complicated and you'd

Re: About initial token, autobootstraping and load balance

2012-01-15 Thread Віталій Тимчишин
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 a bit more complicated and you'd have to move tokens > after adding a machine. > > Maxim > > > > On 1/15/2012 4:40 AM, Віталій Тимчишин

Re: About initial token, autobootstraping and load balance

2012-01-15 Thread Maxim Potekhin
I see. Sure, that's a bit more complicated and you'd have to move tokens after adding a machine. Maxim On 1/15/2012 4:40 AM, ??? wrote: It's nothing wrong for 3 nodes. It's a problem for cluster of 20+ nodes, growing. 2012/1/14 Maxim Potekhin mailto:potek...@bnl.gov>> I'm

Re: About initial token, autobootstraping and load balance

2012-01-15 Thread Віталій Тимчишин
It's nothing wrong for 3 nodes. It's a problem for cluster of 20+ nodes, growing. 2012/1/14 Maxim Potekhin > I'm just wondering -- what's wrong with manual specification of tokens? > I'm so glad I did it and have not had problems with balancing and all. > > Before I was indeed stuck with 25/25/

Re: About initial token, autobootstraping and load balance

2012-01-14 Thread Maxim Potekhin
I'm just wondering -- what's wrong with manual specification of tokens? I'm so glad I did it and have not had problems with balancing and all. Before I was indeed stuck with 25/25/50 setup in a 3 machine cluster, when had to move tokens to make it 33/33/33 and I screwed up a little in that the

Re: About initial token, autobootstraping and load balance

2012-01-14 Thread Віталій Тимчишин
Actually for me it seems that largest means with most data, not range, that with replication involved makes the feature useless. 2012/1/13 David McNelis > The documentation for that section needs to be updated... > > What happens is that if you just autobootstrap without setting a token it > wil

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 : > The documentatio

Re: About initial token, autobootstraping and load balance

2012-01-13 Thread David McNelis
The documentation for that section needs to be updated... What happens is that if you just autobootstrap without setting a token it will by default bisect the range of the largest node. So if you go through several iterations of adding nodes, then this is what you would see: Gen 1: Node A: 100%

About initial token, autobootstraping and load balance

2012-01-13 Thread Carlos Pérez Miguel
Hello, I have a doubt about how initial token is determined. In Cassandra's documentation it is said that it is better to manually configure the initial token to each node in the system but also is said that if initial token is not defined and autobootstrap is true, new nodes choose initial token