Skip to content

Instantly share code, notes, and snippets.

@jsanda
Created October 17, 2014 14:52
Show Gist options
  • Save jsanda/8044cec237be9765603a to your computer and use it in GitHub Desktop.
Save jsanda/8044cec237be9765603a to your computer and use it in GitHub Desktop.
# Defines the number of tokens randomly assigned to a node on the ring. The more tokens,
# relative to other nodes, the larger the proportion of data that this node will store. You
# probably want all nodes to have the same number of tokens assuming they have equal
# hardware capability. Tokens are randomly generated with the expectation of an even
# distribution. With that said, there can be some variation. Either increasing this value
# or increasing the number of nodes in the cluster will help even out the distribution.
rhq.storage.num-tokens=256
# A comma-delimited list of IP addresses/host names that are deemed contact points.
# Cassandra nodes use this list of hosts to find each other and learn the
# topology of the ring. If you are running a local development cluster, be sure
# to have aliases set up for localhost.
rhq.storage.seeds=localhost
# A class that performs authentication. The value should be a fully qualified class name
# and implement IAuthenticator.
rhq.storage.authenticator=org.apache.cassandra.auth.PasswordAuthenticator
# A class that performs authorization. Used to limit/provide permissions. The value should
# be a fully qualified class name and implement IAuthorizer.
rhq.storage.authorizer=org.apache.cassandra.auth.CassandraAuthorizer
# The IP address or hostname that other Cassandra nodes will use to connect to
# this node.
rhq.storage.listen.address=localhost
# Set this property to true for starting the Thrift-based RPC
rhq.storage.start_rpc=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment