As part of DS201, Replication exercise... Node3 was added as:
DC=west-side RAC=hakuna-matata
Node1 and Node2 were already up and running.
Keyspace was created with following command:
CREATE KEYSPACE killrvideo WITH replication = {'class': 'NetworkTopologyStrategy','east-side': 1,'west-side': 1};
But execution resulted in a warning as follows:
Warning: schema version mismatch detected; check the schema versions of your nodes in system.local and system.peers.
Ignored this warning and went ahead and imported data into the table.
While trying to check for endpoints for each partition value, its only showing values on Node1 and Node2.. nothing on Node3.. why?
ubuntu@ds201-node1:~$ /home/ubuntu/node1/resources/cassandra/bin/nodetool getendpoints killrvideo videos_by_tag 'cassandra' 127.0.0.2 127.0.0.1 ubuntu@ds201-node1:~$ /home/ubuntu/node1/resources/cassandra/bin/nodetool getendpoints killrvideo videos_by_tag 'datastax' 127.0.0.1 127.0.0.2 ubuntu@ds201-node1:~$ /home/ubuntu/node1/resources/cassandra/bin/nodetool getendpoints killrvideo videos_by_tag 'action' 127.0.0.2 127.0.0.1 ubuntu@ds201-node1:~$ /home/ubuntu/node1/resources/cassandra/bin/nodetool getendpoints killrvideo videos_by_tag 'horror' 127.0.0.1 127.0.0.2