cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li wei <liwei...@yahoo.com>
Subject cassandra cluster (2 node): one node is OK, another has this error: java.lang.AssertionError: invalid response count 2
Date Fri, 14 May 2010 21:47:58 GMT
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!



      

Mime
View raw message