text stringlengths 0 59.1k |
|---|
# and will use the initial_token as described below. |
# |
# Specifying initial_token will override this setting on the node's initial start, |
# on subsequent starts, this setting will apply even if initial token is set. |
# |
# If you already have a cluster with 1 token per node, and wish to migrate to |
# multiple tokens per node, see http://wiki.apache.org/cassandra/Operations |
num_tokens: 256 |
# Triggers automatic allocation of num_tokens tokens for this node. The allocation |
# algorithm attempts to choose tokens in a way that optimizes replicated load over |
# the nodes in the datacenter for the replication strategy used by the specified |
# keyspace. |
# |
# The load assigned to each node will be close to proportional to its number of |
# vnodes. |
# |
# Only supported with the Murmur3Partitioner. |
# allocate_tokens_for_keyspace: KEYSPACE |
# initial_token allows you to specify tokens manually. While you can use # it with |
# vnodes (num_tokens > 1, above) -- in which case you should provide a |
# comma-separated list -- it's primarily used when adding nodes # to legacy clusters |
# that do not have vnodes enabled. |
# initial_token: |
# See http://wiki.apache.org/cassandra/HintedHandoff |
# May either be "true" or "false" to enable globally |
hinted_handoff_enabled: true |
# When hinted_handoff_enabled is true, a black list of data centers that will not |
# perform hinted handoff |
# hinted_handoff_disabled_datacenters: |
# - DC1 |
# - DC2 |
# this defines the maximum amount of time a dead host will have hints |
# generated. After it has been dead this long, new hints for it will not be |
# created until it has been seen alive and gone down again. |
max_hint_window_in_ms: 10800000 # 3 hours |
# Maximum throttle in KBs per second, per delivery thread. This will be |
# reduced proportionally to the number of nodes in the cluster. (If there |
# are two nodes in the cluster, each delivery thread will use the maximum |
# rate; if there are three, each will throttle to half of the maximum, |
# since we expect two nodes to be delivering hints simultaneously.) |
hinted_handoff_throttle_in_kb: 1024 |
# Number of threads with which to deliver hints; |
# Consider increasing this number when you have multi-dc deployments, since |
# cross-dc handoff tends to be slower |
max_hints_delivery_threads: 2 |
# Directory where Cassandra should store hints. |
# If not set, the default directory is $CASSANDRA_HOME/data/hints. |
hints_directory: /cassandra_data/hints |
# How often hints should be flushed from the internal buffers to disk. |
# Will *not* trigger fsync. |
hints_flush_period_in_ms: 10000 |
# Maximum size for a single hints file, in megabytes. |
max_hints_file_size_in_mb: 128 |
# Compression to apply to the hint files. If omitted, hints files |
# will be written uncompressed. LZ4, Snappy, and Deflate compressors |
# are supported. |
#hints_compression: |
# - class_name: LZ4Compressor |
# parameters: |
# - |
# Maximum throttle in KBs per second, total. This will be |
# reduced proportionally to the number of nodes in the cluster. |
batchlog_replay_throttle_in_kb: 1024 |
# Authentication backend, implementing IAuthenticator; used to identify users |
# Out of the box, Cassandra provides org.apache.cassandra.auth.{AllowAllAuthenticator, |
# PasswordAuthenticator}. |
# |
# - AllowAllAuthenticator performs no checks - set it to disable authentication. |
# - PasswordAuthenticator relies on username/password pairs to authenticate |
# users. It keeps usernames and hashed passwords in system_auth.credentials table. |
# Please increase system_auth keyspace replication factor if you use this authenticator. |
# If using PasswordAuthenticator, CassandraRoleManager must also be used (see below) |
authenticator: AllowAllAuthenticator |
# Authorization backend, implementing IAuthorizer; used to limit access/provide permissions |
# Out of the box, Cassandra provides org.apache.cassandra.auth.{AllowAllAuthorizer, |
# CassandraAuthorizer}. |
# |
# - AllowAllAuthorizer allows any action to any user - set it to disable authorization. |
# - CassandraAuthorizer stores permissions in system_auth.permissions table. Please |
# increase system_auth keyspace replication factor if you use this authorizer. |
authorizer: AllowAllAuthorizer |
# Part of the Authentication & Authorization backend, implementing IRoleManager; used |
# to maintain grants and memberships between roles. |
# Out of the box, Cassandra provides org.apache.cassandra.auth.CassandraRoleManager, |
# which stores role information in the system_auth keyspace. Most functions of the |
# IRoleManager require an authenticated login, so unless the configured IAuthenticator |
# actually implements authentication, most of this functionality will be unavailable. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.