cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: cassandra cluster (2 node): one node is OK, another has this error: java.lang.AssertionError: invalid response count 2
Date Mon, 17 May 2010 19:49:08 GMT
do both nodes see each other in nodetool ring?

On Fri, May 14, 2010 at 4:47 PM, li wei <liwei_6v@yahoo.com> wrote:
> Hi, Guys,
>
> I have a lasted cassandra -0.6.0.-rc1.
> Connect one node1 from java. Node 1 is OK, node 2 has this error:
> (if Connect one node2 from java. Node 2 is OK, node 1 has same error):
> I have checked node 1
>  <Seeds>
>      <Seed>node1</Seed>
>      <Seed>node2</Seed>
>
>  </Seeds>
>  <ListenAddress>node1</ListenAddress>
>
> I have checked node2
>  <Seeds>
>      <Seed>node2</Seed>
>      <Seed>node1</Seed>
>
>  </Seeds>
>  <ListenAddress>node2</ListenAddress>
>
>
> Can you please help?
> Thanks
> Wei
>
> RROR 17:32:34,164 Fatal exception in thread Thread[RESPONSE-STAGE:251,5,main]
> java.lang.AssertionError: invalid response count 2
>        at org.apache.cassandra.service.ReadResponseResolver.<init>(ReadResponseResolver.java:54)
>        at org.apache.cassandra.service.ConsistencyManager$DigestResponseHandler.doReadRepair(ConsistencyManager.java:89)
>        at org.apache.cassandra.service.ConsistencyManager$DigestResponseHandler.handleDigestResponses(ConsistencyManager.java:75)
>        at org.apache.cassandra.service.ConsistencyManager$DigestResponseHandler.response(ConsistencyManager.java:60)
>        at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:35)
>        at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:40)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
>
>
> Thanks a lot!
>
>
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message