I seem to be having a similar issue to
https://www.mail-archive.com/user@cassandra.apache.org/msg33340.html
Basically I have a new node of version 1.2.13, when attempting to
connect to the ring it fails to handshake with other nodes in the cluster.
This is attempting to connect to a 1.1.12 node.
Enabling the trace gets me the following information:
TRACE [GossipTasks:1] 2014-01-09 16:09:19,481 Gossiper.java (line 381)
Gossip Digests are : /local_ip:1389283753:17
TRACE [GossipTasks:1] 2014-01-09 16:09:19,481 Gossiper.java (line 537)
Sending a GossipDigestSyn to /remote_ip ...
TRACE [GossipTasks:1] 2014-01-09 16:09:19,482 MessagingService.java
(line 611) /local_ip sending GOSSIP_DIGEST_SYN to 5@/remote_ip
TRACE [GossipTasks:1] 2014-01-09 16:09:19,483 Gossiper.java (line 162)
Performing status check ...
TRACE [GossipTasks:1] 2014-01-09 16:09:20,483 Gossiper.java (line 124)
My heartbeat is now 18
TRACE [GossipTasks:1] 2014-01-09 16:09:20,484 Gossiper.java (line 381)
Gossip Digests are : /local_ip:1389283753:18
TRACE [GossipTasks:1] 2014-01-09 16:09:20,485 Gossiper.java (line 537)
Sending a GossipDigestSyn to /remote_ip ...
DEBUG [WRITE-/remote_ip] 2014-01-09 16:09:20,485
OutboundTcpConnection.java (line 338) Target max version is -2147483648;
no version information yet, will retry
TRACE [WRITE-/remote_ip] 2014-01-09 16:09:20,486 MessagingService.java
(line 835) Assuming current protocol version for /remote_ip
TRACE [GossipTasks:1] 2014-01-09 16:09:20,488 MessagingService.java
(line 611) /local_ip sending GOSSIP_DIGEST_SYN to 6@/remote_ip
TRACE [GossipTasks:1] 2014-01-09 16:09:20,489 Gossiper.java (line 162)
Performing status check ...
TRACE [HANDSHAKE-/remote_ip] 2014-01-09 16:09:20,488
OutboundTcpConnection.java (line 406) Cannot handshake version with
/remote_ip
java.nio.channels.AsynchronousCloseException
at
java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:205)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:412)
at
sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:203)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
at java.io.InputStream.read(InputStream.java:101)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:81)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at
org.apache.cassandra.net.OutboundTcpConnection$1.run(OutboundTcpConnection.java:400)
I can successfully telnet into the remote node with no problems, and
joining a 1.1.12 version to the cluster works fine.
See https://gist.github.com/anonymous/8337161 for my config yaml.
--
Signature *Elliot Sumner*
CTO
PlayDemand LTD