Configuring Cassandra

Certify and Increase Opportunity.
Be
Govt. Certified Apache Cassandra Professional

Configuring Cassandra

Configuring Apache Cassandra

The cassandra.yaml file is the main configuration file for Cassandra. This file is located in /etc/cassandra/conf/cassandra.yaml in packaged installations or $CASSANDRA_HOME/conf/cassandra.yaml in binary installations. After changing properties in this file, you must restart the node for the changes to take effect.

Option Default Value
authenticator org.apache.cassandra.auth.AllowAllAuthenticator
authority org.apache.cassandra.auth.AllowAllAuthority
auto_bootstrap false
cluster_name Test Cluster
column_index_size_in_kb 64
commitlog_directory /var/lib/cassandra/commitlog
commitlog_rotation_threshold_in_mb 128
commitlog_sync periodic
commitlog_sync_period_in_ms 10000 (ten seconds)
compaction_preheat_key_cache true
compaction_thread_priority 1 (Lowest)
compaction_throughput_mb_per_sec 16
concurrent_compactors One per CPU core
concurrent_reads 32
concurrent_writes 32
data_file_directories /var/lib/cassandra/data
dynamic_snitch true
dynamic_snitch_badness_threshold 0.0
dynamic_snitch_reset_interval_in_ms 600000
dynamic_snitch_update_interval_in_ms 100
endpoint_snitch org.apache.cassandra.locator.SimpleSnitch
flush_largest_memtables_at 0.75
hinted_handoff_enabled true
hinted_handoff_throttle_delay_in_ms 50
in_memory_compaction_limit_in_mb 64
incremental_backups false
index_interval 128
initial_token n/a
internode_encryption none
keystore conf/.keystore
keystore_password cassandra
listen_address localhost
max_hint_window_in_ms 3600000 (one hour)
memtable_flush_queue_size 4
memtable_flush_writers One per data directory
memtable_total_space_in_mb 1/3 of the heap
partitioner org.apache.cassandra.dht.RandomPartitioner
phi_convict_threshold 8
reduce_cache_capacity_to 0.6
reduce_cache_sizes_at 0.85
request_scheduler org.apache.cassandra.scheduler.NoScheduler
request_scheduler_id keyspace
rpc_address localhost
rpc_keepalive true
rpc_max_threads Unlimited
rpc_min_threads 16
rpc_port 9160
rpc_recv_buff_size_in_bytes n/a
rpc_send_buff_size_in_bytes n/a
rpc_timeout_in_ms 10000
saved_caches_directory /var/lib/cassandra/saved_caches
seeds 127.0.0.1
seed_provider org.apache.cassandra.locator.SimpleSeedProvider
sliced_buffer_size_in_kb 64
snapshot_before_compaction false
storage_port 700
thrift_framed_transport_size_in_mb 15
thrift_max_message_length_in_mb 16
truststore conf/.truststore
truststore_password cassandra

Share this post
[social_warfare]
Concurrency by SEDA
Keyspaces API definitions

Get industry recognized certification – Contact us

keyboard_arrow_up