incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Error when bringing up nodes during failure testing
Date Sun, 06 Mar 2011 03:43:03 GMT
Can you include the full error stack ? 

It's failing because of the reason stated. But I need some more info to understand what part
of the startup process it's stuck at. 

Aaron
  
On 4/03/2011, at 6:39 AM, mcasandra wrote:

> Whenever I do failure testing I see this error message and then cassandra
> process exits. This is what I am doing: 
> 
> 
> 1. 3 node cluster. CF of RF=3, W=QUORUM and R=QUORUM 
> 2. Execute client code in a loop which just reads data from CF in while
> loop. 
> 2. Bring one node down (Node C). Everything ok. Client is happy (as
> expected) 
> 3. Bring one more node down (Node A). Client throws error (as expected) 
> 4. Bring one node up and then I receive following error message in cassandra
> and cassandra exits at this point. 
> 
> Please help. But sometimes when I bring some other node up first (Node C)
> and then bring up this node (A)then it works. Not sure what's going on here. 
> 
> Error in Cassandra logs:
> 
> ERROR 15:36:55,153 Exception encountered during startup. 
> java.lang.IllegalStateException: replication factor (3) exceeds number of
> endpoints (2) 
>        at
> org.apache.cassandra.locator.SimpleStrategy.calculateNaturalEndpoints(SimpleStrategy.java:60)

>        at
> org.apache.cassandra.locator.AbstractReplicationStrategy.getRangeAddresses(AbstractReplicationStrategy.java:204)

> 
> 
> --
> View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Error-when-bringing-up-nodes-during-failure-testing-tp6085692p6085692.html
> Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.


Mime
View raw message