Re: problem with bootstrap

2011-03-14 Thread Patrik Modesto
On Fri, Mar 11, 2011 at 22:31, Aaron Morton aa...@thelastpickle.com wrote: The assertion is interesting. Can you reproduce it with logging at debug and post the results? Could you try to reproduce it with a clean cluster? It was on a clean cluster last time. Anyway I started clean cluster

Re: problem with bootstrap

2011-03-14 Thread aaron morton
Thanks, will try to look into it. Aaron On 14 Mar 2011, at 20:43, Patrik Modesto wrote: On Fri, Mar 11, 2011 at 22:31, Aaron Morton aa...@thelastpickle.com wrote: The assertion is interesting. Can you reproduce it with logging at debug and post the results? Could you try to reproduce it

Re: problem with bootstrap

2011-03-11 Thread Patrik Modesto
Unfortunately I can't provide the info, I deleted it. It was in wery strange state. I started with new cluster today, 2 nodes, each with auto_bootstrap:true. I can create a keyspace with RF=3, but I can't insert any data in it. It didn't happen with the old cluster which made me think. How could

Re: problem with bootstrap

2011-03-11 Thread Aaron Morton
IMHO creating a keyspace with RF higher than the number of nodes sounds like a bug. It puts the cluster into a bad place. It may even be a regression, will take a look at the code. The assertion is interesting. Can you reproduce it with logging at debug and post the results? Could you try to

Re: problem with bootstrap

2011-03-10 Thread Patrik Modesto
Hi, I'm stil fighting the Exception in thread main java.lang.IllegalStateException: replication factor (3) exceeds number of endpoints (2). When I have a 2-server cluster, create Keyspace with RF 3, I'm able to add (without auto_bootstrap) another node but cluster nodetool commands don't work

Re: problem with bootstrap

2011-03-10 Thread mcasandra
of this behaviour. I wonder if this were to happen in production how will we debug or what will we do :( -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/problem-with-bootstrap-tp6127315p6158996.html Sent from the cassandra-u...@incubator.apache.org

Re: problem with bootstrap

2011-03-10 Thread aaron morton
Can you include this info... - output from nodetool ring for all nodes so we can see whats in the ring - what you've run on the node you are trying to bring in - the nodetool command you are trying to run - error logs In general asking the cluster to replicate data more times than the number of

Re: problem with bootstrap

2011-03-10 Thread mcasandra
and upgraded hector this morning. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/problem-with-bootstrap-tp6127315p6159679.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: problem with bootstrap

2011-03-10 Thread Peter Schuller
Could it be because once auto_bootstrap is off it's off forever? I am not entirely sure if this answers your question (I revisisted the thread history but I'm a bit confused myself): If by that you mean that given a node which was started with auto_bootstrap=false, and it successfully joined the

Re: problem with bootstrap

2011-03-10 Thread Peter Schuller
Bootstrapping uses the same mechanisms as a repair to streams data from other nodes. This can be a heavy weight process and you may want to control when it starts. Joining the ring just tells the other nodes you exists and this is your token. And in general, except when initially setting

Re: problem with bootstrap

2011-03-09 Thread aaron morton
nodes down out of 3 and I was able to bring up one of the nodes except the remaining one. You would think that no nodes will come up but I really think there is a problem here. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/problem

Re: problem with bootstrap

2011-03-09 Thread mcasandra
-apache-org.3065146.n2.nabble.com/problem-with-bootstrap-tp6127315p6155334.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: problem with bootstrap

2011-03-09 Thread aaron morton
-incubator-apache-org.3065146.n2.nabble.com/problem-with-bootstrap-tp6127315p6155334.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: problem with bootstrap

2011-03-09 Thread mcasandra
to remove? All I did was kill -9 and then sudo cassandra to start the node. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/problem-with-bootstrap-tp6127315p6156250.html Sent from the cassandra-u...@incubator.apache.org mailing list archive

problem with bootstrap

2011-03-08 Thread Patrik Modesto
Hi, I've small test cluster, 2 servers, both running successfully cassandra 0.7.3. I've three keyspaces, two with RF1, one with RF3. Now when I try to bootstrap 3rd server (empty initial_token, auto_bootstrap: true), I get this exception on the new server. INFO 23:13:43,229 Joining: getting

Re: problem with bootstrap

2011-03-08 Thread mcasandra
://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/problem-with-bootstrap-tp6127315p6145100.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.