[
https://issues.apache.org/jira/browse/CASSANDRA-6615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885795#comment-13885795
]
Michael Shuler commented on CASSANDRA-6615:
-------------------------------------------
Patch looks good to me.
{noformat}
INFO [HANDSHAKE-/127.0.0.2] 2014-01-29 14:41:43,388 OutboundTcpConnection.java
(line 418) Handshaking version with /127.0.0.2
INFO [HANDSHAKE-/127.0.0.1] 2014-01-29 14:41:43,388 OutboundTcpConnection.java
(line 418) Handshaking version with /127.0.0.1
INFO [GossipStage:1] 2014-01-29 14:41:44,031 Gossiper.java (line 843) Node
/127.0.0.3 is now part of the cluster
INFO [GossipStage:1] 2014-01-29 14:41:44,033 Gossiper.java (line 809)
InetAddress /127.0.0.3 is now UP
WARN [GossipStage:1] 2014-01-29 14:41:44,038 StorageService.java (line 1481)
Not updating host ID 2b3a79b1-0c16-402a-a0cb-fa36c391a7c6 for /127.0.0.3
because it's mine
INFO [GossipStage:1] 2014-01-29 14:41:44,038 StorageService.java (line 1572)
Nodes /127.0.0.3 and /127.0.0.5 have the same token 4611686018427387903.
Ignoring /127.0.0.3
INFO [GossipStage:1] 2014-01-29 14:41:44,039 StorageService.java (line 1778)
Removing endpoint /127.0.0.3
INFO [main] 2014-01-29 14:41:47,700 TServerCustomFactory.java (line 47) Using
synchronous/threadpool thrift server on 127.0.0.5 : 9160
INFO [Thread-2] 2014-01-29 14:41:47,701 ThriftServer.java (line 110) Listening
for thrift clients...
INFO [GossipTasks:1] 2014-01-29 14:42:45,414 Gossiper.java (line 622)
FatClient /127.0.0.3 has been silent for 30000ms, removing from gossip
{noformat}
> Changing the IP of a node on a live cluster leaves gossip infos and throws
> Exceptions
> -------------------------------------------------------------------------------------
>
> Key: CASSANDRA-6615
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6615
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Fabien Rousseau
> Assignee: Brandon Williams
> Fix For: 1.2.14
>
> Attachments: 6615.txt
>
>
> Following this procedure :
> https://engineering.eventbrite.com/changing-the-ip-address-of-a-cassandra-node-with-auto_bootstrapfalse/
> to change the IP of a node, we encountered an issue :
> - logs contains: "java.lang.RuntimeException: Host ID collision between
> active endpoint /127.0.0.5 and /127.0.0.3"
> - logs also indicate that the old IP is being removed of the cluster
> (FatClient timeout), then added again...
> - nodetool gossipinfo still list old IP (even a few hours after...)
> - the old IP is still seen as "UP" in the cluster... (according to the
> logs...)
> Below is a small shell script which allows to reproduce the scenario...
> {noformat}
> #! /bin/bash
> CLUSTER=$1
> ccm create $CLUSTER --cassandra-dir=.
> ccm populate -n 2
> ccm start
> ccm add node3 -i 127.0.0.3 -j 7300 -b
> ccm node3 start
> ccm node3 ring
> ccm node3 stop
> sed -i 's/127.0.0.3/127.0.0.5/g' ~/.ccm/$CLUSTER/node3/node.conf
> sed -i 's/127.0.0.3/127.0.0.5/g' ~/.ccm/$CLUSTER/node3/conf/cassandra.yaml
> ccm node3 start
> sleep 3
> nodetool --host 127.0.0.5 --port 7300 gossipinfo
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)