Question-154: You have created the Cassandra cluster using the “GossipPropertyFileSnitch”. This is a 10 node cluster. Now you have found that the one of the node in the cluster is placed in the wrong rack. What would you do fix that?
- Decommission node and re-add it to the correct rack and datacenter
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Ans : A,B
Exp : If you have placed the node in a wrong rack, then you can use the following method to place the node in correct rack.
- The preferred method is to decommission the node and re-add it to the correct rack and datacenter : But using this method takes longer than the alternative method (mentioned below) because data is first removed from the decommissioned node and then the node gets the new data during the bootstrapping. But the method below do this concurrently.
-
You can access to full explanation to question and answer from this page.