Chamaz
Chamaz

Reputation: 160

Cassandra new nodes not adding to cluster

I wanna add 2 separate cluster into one cluster. One cluster have data and another one is empty new cluster. Even I add all old nodes as seed for new cluster nodes, both cluster not joining. Cassandra version is 2.0.10

I got below log.

INFO [HANDSHAKE-/1.2.3.4] 2018-09-24 20:07:03,447 OutboundTcpConnection.java (line 386) Handshaking version with /1.2.3.4
INFO [HANDSHAKE-/1.2.3.5] 2018-09-24 20:07:04,449 OutboundTcpConnection.java (line 386) Handshaking version with /1.2.3.5
INFO [HANDSHAKE-/1.2.3.6] 2018-09-24 20:07:07,451 OutboundTcpConnection.java (line 386) Handshaking version with /1.2.3.6

Upvotes: 0

Views: 222

Answers (1)

Simon Fontana Oscarsson
Simon Fontana Oscarsson

Reputation: 2134

You can't merge two existing clusters with each other.

You will need to remove all data from all machines in the empty cluster and join them to the existing cluster one by one as you would do normally when scaling up. From what you write it seems you have two seperate clusters with the logical seperator being cluster_name configuration value. You need to makes sure this value is the name of the existing cluster.

Upvotes: 1

Related Questions