Skip to content

Instantly share code, notes, and snippets.

@bistory
Created July 18, 2018 06:30
Show Gist options
  • Save bistory/ececc0bef7627f39a21e4e8f0c8d841c to your computer and use it in GitHub Desktop.
Save bistory/ececc0bef7627f39a21e4e8f0c8d841c to your computer and use it in GitHub Desktop.
Cassandra configuration (Password authentication not working)
compaction_throughput_mb_per_sec: 16
row_cache_save_period: 0
cross_node_timeout: false
counter_cache_save_period: 7200
sstable_preemptive_open_interval_in_mb: 50
internode_compression: all
storage_port: 7000
key_cache_save_period: 14400
inter_dc_tcp_nodelay: false
start_rpc: true
trickle_fsync_interval_in_kb: 10240
dynamic_snitch_update_interval_in_ms: 100
column_index_size_in_kb: 64
disk_failure_policy: stop
commitlog_total_space_in_mb: 8192
memtable_heap_space_in_mb: 2048
thrift_framed_transport_size_in_mb: 15
authorizer: AllowAllAuthorizer
#authorizer: CassandraAuthorizer
#permissions_validity_in_ms: 2000
#permissions_update_interval_in_ms: 2000
#authenticator: PasswordAuthenticator
#credentials_validity_in_ms: 2000
#credentials_update_interval_in_ms: 2000
read_request_timeout_in_ms: 20000
hinted_handoff_enabled: 'true'
dynamic_snitch_reset_interval_in_ms: 600000
snapshot_before_compaction: false
request_scheduler: org.apache.cassandra.scheduler.NoScheduler
max_hints_delivery_threads: 2
memtable_offheap_space_in_mb: 2048
tombstone_failure_threshold: 200000
incremental_backups: false
commitlog_sync: periodic
trickle_fsync: false
rpc_keepalive: true
max_hint_window_in_ms: 10800000
commitlog_segment_size_in_mb: 32
counter_write_request_timeout_in_ms: 10000
commit_failure_policy: stop
native_transport_max_threads: 128
cluster_name: SoPRISM Cassandra
range_request_timeout_in_ms: 10000
write_request_timeout_in_ms: 5000
request_timeout_in_ms: 10000
internode_authenticator: org.apache.cassandra.auth.AllowAllInternodeAuthenticator
num_tokens: 256
row_cache_size_in_mb: 0
memtable_allocation_type: heap_buffers
dynamic_snitch_badness_threshold: 0.1
commitlog_sync_period_in_ms: 10000
auto_snapshot: true
hinted_handoff_throttle_in_kb: 1024
concurrent_reads: 32
endpoint_snitch: org.apache.cassandra.locator.SimpleSnitch
client_encryption_options:
keystore: conf/.keystore
store_type: JKS
algorithm: SunX509
truststore_password: cassandra
cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA]
enabled: false
protocol: TLS
require_client_auth: false
truststore: conf/.truststore
keystore_password: cassandra
partitioner: org.apache.cassandra.dht.Murmur3Partitioner
saved_caches_directory: /home/cassandra/saved_caches
ssl_storage_port: 7001
truncate_request_timeout_in_ms: 60000
index_summary_resize_interval_in_minutes: 60
rpc_address: 0.0.0.0
rpc_port: 9160
commitlog_directory: /home/cassandra/commitlog
cas_contention_timeout_in_ms: 1000
broadcast_rpc_address: xxxx1
native_transport_max_frame_size_in_mb: 256
listen_address: xxxx1
tombstone_warn_threshold: 1000
rpc_server_type: sync
concurrent_writes: 32
data_file_directories: [/home/cassandra/data]
batch_size_warn_threshold_in_kb: 5
server_encryption_options:
keystore: conf/.keystore
protocol: TLS
algorithm: SunX509
cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA]
truststore_password: cassandra
require_client_auth: false
store_type: JKS
truststore: conf/.truststore
internode_encryption: none
keystore_password: cassandra
start_native_transport: true
native_transport_port: 9042
memtable_flush_writers: 8
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- {seeds: 'xxxx1,xxxx2,xxxx3'}
batchlog_replay_throttle_in_kb: 1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment