O'Reilly logo

Apache Cassandra Essentials by Nitin Padalia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding nodes to a Cassandra cluster

In order to add a node to a Cassandra cluster, you should consider the following configuration options in the Cassandra.yaml file:

  • auto_bootstrap: Set this configuration option to true so that a newly joining node can collect data from other nodes.
  • listen_address: Set this to the appropriate IP address of the node.
  • endpoint_snitch: Ensure that the new node is using the same snitch as that being used by the other nodes.
  • seed_provider: This lists the nodes that are in the seed node list in the existing cluster. Since this new node is bootstrapping, it can't be in the seed node list right now.
  • cluster_name: Ensure that the cluster name is the same as that of the other nodes in the cluster.

In the Cassandra-rackdc.properties ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required