Skip to content

Instantly share code, notes, and snippets.

@alq666
Forked from olidb2/gist:1613224
Created January 14, 2012 23:01
Show Gist options
  • Save alq666/1613275 to your computer and use it in GitHub Desktop.
Save alq666/1613275 to your computer and use it in GitHub Desktop.
cassandra config
# Cassandra YAML generated from previous config
# Configuration wiki: http://wiki.apache.org/cassandra/StorageConfiguration
authenticator: org.apache.cassandra.auth.AllowAllAuthenticator
authority: org.apache.cassandra.auth.AllowAllAuthority
auto_bootstrap: true
binary_memtable_throughput_in_mb: 32
cluster_name: DataDog Cluster
column_index_size_in_kb: 64
commitlog_directory: /usr/local/var/lib/cassandra/commitlog
commitlog_rotation_threshold_in_mb: 32
commitlog_sync: periodic
commitlog_sync_period_in_ms: 10000
compaction_thread_priority: 1
concurrent_reads: 8
concurrent_writes: 32
data_file_directories:
- /usr/local/var/lib/cassandra/data
disk_access_mode: auto
dynamic_snitch: false
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.RackInferringSnitch
hinted_handoff_enabled: true
in_memory_compaction_limit_in_mb: 64
index_interval: 128
listen_address: 127.0.0.1
partitioner: org.apache.cassandra.dht.RandomPartitioner
phi_convict_threshold: 8
rpc_keepalive: true
rpc_port: 9160
rpc_timeout_in_ms: 10000
saved_caches_directory: /usr/local/var/lib/cassandra/saved_caches
seed_provider:
# Addresses of hosts that are deemed contact points.
# Cassandra nodes use this list of hosts to find each other and learn
# the topology of the ring. You must change this if you are running
# multiple nodes!
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
# seeds is actually a comma-delimited list of addresses.
# Ex: "<ip1>,<ip2>,<ip3>"
- seeds: "127.0.0.1"sliced_buffer_size_in_kb: 64
snapshot_before_compaction: false
storage_port: 7000
thrift_framed_transport_size_in_mb: 15
thrift_max_message_length_in_mb: 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment