intra-mart Accel Platform / Cassandra Administrator Guide

Version 8 2014-04-01

«  10. Cassandra Version Upgrade   ::   Contents

11. Cassandra Reference Information

In this section, reference information about Cassandra will be introduced.

11.1. cassandra.yaml Major Items List

Item Name Initial Value Description
cluster_name Test Cluster Cluster Name
initial_token <no statement>
If you specify Token and have it participate in the cluster, statement
is made here. If it is null, Token will be allocated to the range
which is covered by the node with the highest load. It will be randomly
allocated, if there is no load information such as completely new node.
hinted_handoff_enabled true Please refer to Cassandra official wiki hinted handoff for details.
authenticator org.apache.cassandra.auth.AllowAllAuthenticator
This setting item is for the authentication for accessing Cassandra.
Initial setting is no use of authentication.
Please refer to [Cassandra Connection Authentication Setting] for details.
authority org.apache.cassandra.auth.AllowAllAuthority
This setting item is for the user approval for accessing Cassandra.
Initial setting is all connections are permitted.
Please refer to [Cassandra Connection Authentication Setting] for details.
partitioner org.apache.cassandra.dht.RandomPartitioner It sets how to place the data in the node within the cluster.
data_file_directories /var/lib/cassandra/data Location for storing real data.
commitlog_directory /var/lib/cassandra/commitlog Location for storing CommitLog.
saved_caches_directory /var/lib/cassandra/saved_caches Location for storing cache data.
commitlog_sync periodic
It sets the method of storing CommitLog. Selection is to be made from
[periodic/batch].
commitlog_sync_period_in_ms 10000 CommitLog is written with a specified interval of milliseconds.
seeds 127.0.0.1
If the nodes participate in the cluster, it specifies your own IP
and other node in the cluster.
disk_access_mode auto
It sets the use of mmaped I/O. It is effective for 64bit JVM.
Use of initial value “auto” is recommended (up to Cassandra1.1.4).
concurrent_reads 32 Number of read processes concurrently processed. 1CPU core numberx2 is recommended.
concurrent_writes 32 Number of read processes concurrently processed.
storage_port 7000 Port number for data exchange with other nodes is specified.
listen_address localhost
Address to be used for inter-node communication.
It states the network side address of the node to be used
that participates in multiple networks.
rpc_address localhost IP address which permits external connection by Thrift.
rpc_port 9160
Port number to be used for external communication by Thrift.
rpc_keepalive true It selects if KeepAlive attribute is used in RPC connection.
thrift_framed_transport_size_in_mb 15 It specifies the size of frame buffer used by Thrift in MB.
snapshot_before_compaction false It specifies if snapshot is taken before Compaction.
in_memory_compaction_limit_in_mb 64
It limits the size of column compressed on memory.
Recommended value is 5% to 10% of available Java heap size.
rpc_timeout_in_ms 10000 Timeout value before command error is returned.
dynamic_snitch true
Data is loaded from the node other than the one on which response speed
has slowed down because of Compaction execution (until Cassandra1.1.4).
request_scheduler org.apache.cassandra.scheduler.NoScheduler Algorithm to limit the number of request issuance time is specified.

«  10. Cassandra Version Upgrade   ::   Contents