O'Reilly logo

Mastering Apache Cassandra - Second Edition by Nishant Neeraj

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

Configuring a Cassandra cluster

Now that you have a single node setup, you may start Cassandra by executing <cassandra_installation>/bin/cassandra for a tarball install or by running sudo service cassandra start for a repository install. (We'll see later in this chapter how to write a .init script for Cassandra and set it up to start on boot.) However, in order to get a Cassandra cluster working, a couple of configuration tweaks are required.

If you look at cassandra.yaml, you will find that it has the following six sections:

  • Cluster setup properties: These are basically startup properties, file location, ports, replica placement strategies, and internode communication settings.
  • Performance tuning properties: These help in setting up appropriate ...

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