
What is the main configuration file for Cassandra?
The cassandra.yaml file is the main configuration file for Cassandra. The cassandra.yaml file is the main configuration file for Cassandra. Important: After changing properties in the cassandra.yaml file, you must restart the node for the changes to take effect.
Where can I find the commit log for a Cassandra package?
Default locations: Cassandra package installations: /var/lib/cassandra/commitlog Cassandra tarball installations: install_location/data/commitlog For optimal write performance, place the commit log be on a separate disk partition, or (ideally) a separate physical device from the data file directories.
What is the default hostname for Cassandra?
(Default: localhost) The IP address or hostname that Cassandra binds to for connecting this node to other nodes. Set this parameter or listen_interface, not both. Correct settings for various use cases: Comment this property out.
What is the default location for hints in Cassandra?
If not set, the default directory is $CASSANDRA_HOME/data/hints. How often hints should be flushed from the internal buffers to disk. Will not trigger fsync. Min unit: ms Maximum size for a single hints file, in mebibytes. Min unit: MiB This option is commented out by default.

How much cache does Cassandra use?
(Default value: empty) note When no value is set, Cassandra uses the smaller of minimum of 2.5% of Heap or 50MB. If your system performs counter deletes and relies on low gc_grace_seconds, you should disable the counter cache. To disable, set to 0.
What is Cassandra.yaml?
The cassandra.yaml file is the main configuration file for Cassandra.
How many partitions per batch Cassandra?
(Default: 10 partitions per batch) Causes Cassandra to log a WARN message on any batches not of type LOGGED that span across more partitions than this limit. The default value is 10 partitions.
When to set initial token in Cassandra?
If your Cassandra installation is not using vnodes or this node's num_tokens is set it to 1 or is commented out, you should always set an initial_token value when setting up a production cluster for the first time, and when adding capacity. For more information, see this parameter in the Cassandra 1.1 Node and Cluster Configuration documentation.
What is listen_address in EC2?
Node in a multi-network or multi-Datacenter installation, within an EC2 environment that supports automatic switching between public and private interfaces: set listen_address to the node's IP address or hostname, or set listen_interface.
Why does concurrent compactor use more disk space?
Note: Increasing concurrent compactors leads to more use of available disk space for compaction, because concurrent compactions happen in parallel, especially for STCS. Ensure that adequate disk space is available before increasing this configuration.
Does Cassandra use IPv4?
(Default: false) If an interface has an ipv4 and an ipv6 address, Cassandra uses the first ipv4 address by default. Set this property to true to configure Cassandra to use the first ipv6 address.
authenticator
Authentication backend, implementing IAuthenticator; used to identify users Out of the box, Cassandra provides org.apache.cassandra.auth. {AllowAllAuthenticator, PasswordAuthenticator}.
authorizer
Authorization backend, implementing IAuthorizer; used to limit access/provide permissions Out of the box, Cassandra provides org.apache.cassandra.auth. {AllowAllAuthorizer, CassandraAuthorizer}.
What is Cassandra replication?
Cassandra provides customizable replication, storing redundant copies of data across nodes that participate in a Cassandra ring.
How many seed nodes are there in a cluster?
There must be at least one seed node in a cluster. One may configure more than one seed node for added redundancy. They allow the instance to find the cluster on the very first startup. All of the options mentioned. When a node first starts, it contacts a seed node to bootstrap the gossip communication process.
What is row cache?
Row cache is an in-memory cache.
Is merge supported by cassandra?
No, Merge is not supported by cassandra.
Can a column be added to a family after creation?
Any column cannot be added to a column family after creation.
Cassandra Overview
Apache Cassandra is a replicated NoSQL database and an ideal solution for situations that require maximum data redundancy, uptime and horizontal scaling across multiple servers.
Configuring Additional Nodes
The configuration files of Cassandra are located in the /etc/cassandra directory. cassandra.yaml is the file that contains most of the Cassandra configuration, such as ports used, file locations and seed node IP addresses.
Connecting to Your Cluster
Once all nodes have started, the cluster is ready. You can use the cqlsh tool to interact with your cluster. It is installed by default on any of the nodes.
Renaming Your Cluster
Login to admin shell with cqlsh. Replace [new_cluster_name] with your new cluster name.
