Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "StorageConfiguration" page has been changed by JonHermes.
http://wiki.apache.org/cassandra/StorageConfiguration?action=diff&rev1=25&rev2=26

--------------------------------------------------

- Prior to the 0.7 release, Cassandra storage configuration is described by the 
''conf/storage-conf.xml'' file. As of 0.7, it is described by the  
''conf/cassandra.yaml'' file. 
+ Prior to the 0.7 release, Cassandra storage configuration is described by the 
''conf/storage-conf.xml'' file. As of 0.7, it is described by the  
''conf/cassandra.yaml'' file.
  
  = Loading the Config =
  == config-converter ==
@@ -8, +8 @@

  
  == -Dcassandra.config ==
  You can specify any configuration to load by passing a VM parameter to java 
when Cassandra starts up.  This is done by supplying a value to 
''-Dcassandra.conf=<your value here>''.  Values can include files located in 
the classpath or local and remote URLs.  Here are a few valid examples:
- ||'''Value'''||'''Implication'''||
+ ||'''Value''' ||'''Implication''' ||
- ||''-Dcassandra.config=alternate-cassandra.yaml''||loads 
''alternate-cassandra.yaml'' if it can be found in the cassandra classpath.||
+ ||''-Dcassandra.config=alternate-cassandra.yaml'' ||loads 
''alternate-cassandra.yaml'' if it can be found in the cassandra classpath. ||
- 
||''-Dcassandra.config=&#104;ttp://www.example.com/remote-cassandra.yaml''||loads
 a configuration file from a remote host.||
+ ||''-Dcassandra.config=http://www.example.com/remote-cassandra.yaml'' ||loads 
a configuration file from a remote host. ||
- 
||''-Dcassandra.config=&#102;ile:///home/me/external-local-cassandra.yaml''||loads
 a local configuration file that is not located in the cassandra classpath.||
+ ||''-Dcassandra.config=file:///home/me/external-local-cassandra.yaml'' 
||loads a local configuration file that is not located in the cassandra 
classpath. ||
+ 
+ 
+ 
  
  == "Where are my keyspaces?" ==
- [[LiveSchemaUpdates]].
- You can load the schema once by using: {{{
+ LiveSchemaUpdates. You can load the schema once by using:
+ 
+ {{{
  bin/schematool HOST PORT import
  }}}
- 
  = Config Overview =
  Not going to cover every value, just the interesting ones. When in doubt, 
check out the comments on the default cassandra.yaml as they're well documented 
there.
+ 
  == per-Cluster (Global) Settings ==
- === authenticator === 
+ === authenticator ===
  org.apache.cassandra.auth.AllowAllAuthenticator
+ 
- === auto_bootstrap === 
+ === auto_bootstrap ===
  false
+ 
- === cluster_name === 
+ === cluster_name ===
- Twissandra Cluster
+ Cluster
+ 
  === commitlog_directory ===
  /var/lib/cassandra/commitlog
+ 
- === concurrent_reads === 
+ === concurrent_reads ===
+ === concurrent_writes ===
  8
- === concurrent_writes === 
+ 
  32
+ 
- === disk_access_mode === 
+ === disk_access_mode ===
  auto, mmap, mmap_index_only, standard
+ 
  === dynamic_snitch ===
  false
+ 
  === endpoint_snitch ===
  org.apache.cassandra.locator.RackInferringSnitch
+ 
  === hinted_handoff_enabled ===
  true
+ 
  === memtable_flush_after_mins ===
  === memtable_operations_in_millions ===
  === memtable_throughput_in_mb ===
+ 60 0.3 64
+ 
- 60
- 0.3
- 64
  === partitioner ===
  org.apache.cassandra.dht.RandomPartitioner
+ 
  === rpc_timeout_in_ms ===
  10000
+ 
  === seeds ===
  LIST {"127.0.0.1",}
+ 
  === thrift_framed_transport_size_in_mb ===
  15 by default. Setting this to 0 is how to denote using unframed transport.
  
  == per-Keyspace Settings ==
  == per-ColumnFamily Settings ==
  == per-Column Settings ==
- 
  == AutoBootstrap ==
  ''[New in 0.5:''
  
@@ -81, +96 @@

  {{{
  <ClusterName>Test Cluster</ClusterName>
  }}}
- 
  == Authenticator ==
  ''[New in 0.6:''
  
- Allows for pluggable authentication of users, which defines whether it is 
necessary to call the Thrift 'login' method, and which parameters are required 
to login. The default '!AllowAllAuthenticator' does not require users to call 
'login': any user can perform any operation. The other built in option is 
'!SimpleAuthenticator', which requires users and passwords to be defined in 
property files, and for users to call login with a valid combo. 
+ Allows for pluggable authentication of users, which defines whether it is 
necessary to call the Thrift 'login' method, and which parameters are required 
to login. The default '!AllowAllAuthenticator' does not require users to call 
'login': any user can perform any operation. The other built in option is 
'!SimpleAuthenticator', which requires users and passwords to be defined in 
property files, and for users to call login with a valid combo.
  
  Example:
  
@@ -113, +127 @@

  '']''
  
  ''[New in 0.6: !EndPointSnitch, !ReplicaPlacementStrategy and 
!ReplicationFactor became configurable per keyspace.  Prior to that they were 
global settings.]''
+ 
  === EndPointSnitch ===
  !EndPointSnitch: Setting this to the class that implements 
{{{IEndPointSnitch}}} which will see if two endpoints are in the same data 
center or on the same rack. Out of the box, Cassandra provides 
{{{org.apache.cassandra.locator.EndPointSnitch}}}
  
@@ -136, +151 @@

  {{{
  <ReplicationFactor>1</ReplicationFactor>
  }}}
- 
- Note that the replication factor (RF) is the ''total'' number of nodes onto 
which the data will be placed.  So, a replication factor of 1 means that only 1 
node will have the data.  It does '''not''' mean that one ''other'' node will 
have the data.  
+ Note that the replication factor (RF) is the ''total'' number of nodes onto 
which the data will be placed.  So, a replication factor of 1 means that only 1 
node will have the data.  It does '''not''' mean that one ''other'' node will 
have the data.
  
  === ColumnFamilies ===
  The {{{CompareWith}}} attribute tells Cassandra how to sort the columns for 
slicing operations.  The default is {{{BytesType}}}, which is a straightforward 
lexical comparison of the bytes in each column. Other options are 
{{{AsciiType}}}, {{{UTF8Type}}}, {{{LexicalUUIDType}}}, {{{TimeUUIDType}}}, and 
{{{LongType}}}.  You can also specify the fully-qualified class name to a class 
of your choice extending {{{org.apache.cassandra.db.marshal.AbstractType}}}.
@@ -200, +214 @@

        <DataFileDirectory>/var/lib/cassandra/data</DataFileDirectory>
  </DataFileDirectories>
  }}}
- 
  == Seeds ==
  Addresses of hosts that are deemed contact points. Cassandra nodes use this 
list of hosts to find each other and learn the topology of the ring. You must 
change this if you are running multiple nodes!
  
@@ -209, +222 @@

   <Seed>127.0.0.1</Seed>
  </Seeds>
  }}}
- 
  Never use a node's own address as a seed if you are bootstrapping it by 
setting AutoBootstrap to true.
  
  == Miscellaneous ==
@@ -256, +268 @@

  {{{
  <DiskAccessMode>auto</DiskAccessMode>
  }}}
- 
  Buffer size to use when performing contiguous column slices. Increase this to 
the size of the column slices you typically perform.  (Name-based queries are 
performed with a buffer size of  !ColumnIndexSizeInKB.)
  
  {{{

Reply via email to