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 installation. (We'll see later in this chapter how to write a .init
script for Cassandra and set it up to start on boot.) However, it needs a couple of configuration tweaks in order to get a Cassandra cluster working.
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 inter-node communication settings.
Performance tuning properties: These help in setting up appropriate values to system/network resources based on your setup.
Client connection properties: These help in setting up the behavior of client-to-node connectivity, things such as number of requests per client, maximum number of threads (clients), and...