Configuring Cassandra
If you have installed cassandra on one node then basically you don't need to do any configuration for one node installation. But its good to know what configuration are available and how can you use them according to your requirement.
Finding location of main configuration file :-
Main file for configuration of cassandra database is cassandra.yaml . The location of cassandra.yaml file can be different based on that how installation was performed.
- For tarbal installation configuration files lies as below
if you have extracted cassandra tar binaries files at '/home/cassandra/' then config files will be at below location /home/cassandra/apache-cassandra-3.5/conf
- Installation done through package manager (apt-get, yum etc..)
location : /etc/cassandra/
node1:~$ls -ltr /etc/cassandra/cassandra.yaml
-rw-r--r-- 1 root root 49332 Nov 29 16:02 /etc/cassandra/cassandra.yaml
-rw-r--r-- 1 root root 49332 Nov 29 16:02 /etc/cassandra/cassandra.yaml