Skip to content

Instantly share code, notes, and snippets.

@danslimmon
Created August 28, 2013 20:26
Show Gist options
  • Save danslimmon/6370789 to your computer and use it in GitHub Desktop.
Save danslimmon/6370789 to your computer and use it in GitHub Desktop.
cassandra.yaml that causes the crash logged at https://gist.github.com/danslimmon/6370745 when trying to add client encryption. Posted on ServerFault: http://serverfault.com/questions/534614/cannot-bind-to-port-enabling-cassandra-client-encryption
cluster_name: 'cassandra-00'
num_tokens: 256
hinted_handoff_enabled: true
max_hint_window_in_ms: 10800000
hinted_handoff_throttle_in_kb: 1024
max_hints_delivery_threads: 2
authenticator: org.apache.cassandra.auth.PasswordAuthenticator
authorizer: org.apache.cassandra.auth.CassandraAuthorizer
permissions_validity_in_ms: 0
partitioner: org.apache.cassandra.dht.Murmur3Partitioner
data_file_directories:
- /var/lib/cassandra/data
commitlog_directory: /var/lib/cassandra/commitlog
disk_failure_policy: stop
key_cache_size_in_mb:
key_cache_save_period: 14400
row_cache_size_in_mb: 0
row_cache_save_period: 0
row_cache_provider: SerializingCacheProvider
saved_caches_directory: /var/lib/cassandra/saved_caches
commitlog_sync: periodic
commitlog_sync_period_in_ms: 10000
commitlog_segment_size_in_mb: 32
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- seeds: "192.168.0.1"
flush_largest_memtables_at: 0.75
reduce_cache_sizes_at: 0.85
reduce_cache_capacity_to: 0.6
concurrent_reads: 32
concurrent_writes: 32
trickle_fsync: false
trickle_fsync_interval_in_kb: 10240
storage_port: 7000
ssl_storage_port: 7001
listen_address: 192.168.0.1
start_native_transport: true
native_transport_port: 9042
start_rpc: true
rpc_address: 192.168.0.1
rpc_port: 9160
rpc_keepalive: true
rpc_server_type: sync
thrift_framed_transport_size_in_mb: 15
incremental_backups: false
snapshot_before_compaction: false
auto_snapshot: true
column_index_size_in_kb: 64
in_memory_compaction_limit_in_mb: 64
multithreaded_compaction: false
compaction_throughput_mb_per_sec: 16
compaction_preheat_key_cache: true
read_request_timeout_in_ms: 10000
range_request_timeout_in_ms: 10000
write_request_timeout_in_ms: 10000
truncate_request_timeout_in_ms: 60000
request_timeout_in_ms: 10000
cross_node_timeout: false
endpoint_snitch: SimpleSnitch
dynamic_snitch_update_interval_in_ms: 100
dynamic_snitch_reset_interval_in_ms: 600000
dynamic_snitch_badness_threshold: 0.1
request_scheduler: org.apache.cassandra.scheduler.NoScheduler
index_interval: 128
server_encryption_options:
internode_encryption: all
keystore: /etc/cassandra/keystore
keystore_password: notreal
truststore: /etc/cassandra/truststore
truststore_password: notreal
client_encryption_options:
enabled: true
keystore: /etc/cassandra/keystore
keystore_password: notreal
internode_compression: all
inter_dc_tcp_nodelay: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment