Database Reference
In-Depth Information
may want to do this when using commodity hardware that may not all be
the same.
initial_token
Default: blank. When vnodes are not being used, or there is only one
token per node, the initial token specifies where in the range this node be-
longs. If this field is left blank, Cassandra will try to determine which
nodes in the cluster have the largest load, and it will bisect the range of
those nodes. If Cassandra cannot determine which nodes have the highest
load, it will select a random token. Because of this, when setting up a new
cluster, it is important to manually calculate the tokens for each node that
will be in the cluster.
authenticator
Default: org.apache.cassandra.auth.AllowAllAuthenticator. This chooses
the Java class used for authentication with Cassandra. By default, there is
no authentication for a node in Cassandra. Optionally, you may specify
org.apache.cassandra.auth.Password Authenticator. That will keep user-
names and hashed passwords in the system_auth.credentials table. It is re-
commended to use a replication factor of 2 or higher when using the Pass-
wordAuthenticator to prevent data loss in the event of an outage.
authorizer
Default: org.apache.cassandra.auth.AllowAllAuthorizer. This chooses the
Java class responsible for limiting and granting permissions to Cassandra
objects. By default, the AllowAllAuthorizer turns off authorization. Op-
tionally, the CassandraAuthorizer may be used, in which case the permis-
sions will be stored in the system_auth.permissions table.
permissions_validity_in_ms
Default: 2000. When using the Authorizer, this specifies how long to
cache permissions. If permissions do not change very often, increase this
value to increase the read/write performance. This is ignored when using
the AllowAllAuthorizer.
partitioner
Default: org.apache.cassandra.dht.Murmur3Partitioner. This specifies the
Java class that is responsible for partitioning the data among the nodes.
The Murmur3Partitioner is an extremely fast hash-based partitioner for
random distribution. Optionally, one may also choose the
Search WWH ::




Custom Search