You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2009/07/01 20:28:54 UTC
svn commit: r790301 - in /incubator/cassandra/trunk: conf/storage-conf.xml
test/conf/storage-conf.xml
Author: jbellis
Date: Wed Jul 1 18:28:54 2009
New Revision: 790301
URL: http://svn.apache.org/viewvc?rev=790301&view=rev
Log:
remove unused options and add comments from the old Setup wiki page.
Modified:
incubator/cassandra/trunk/conf/storage-conf.xml
incubator/cassandra/trunk/test/conf/storage-conf.xml
Modified: incubator/cassandra/trunk/conf/storage-conf.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/conf/storage-conf.xml?rev=790301&r1=790300&r2=790301&view=diff
==============================================================================
--- incubator/cassandra/trunk/conf/storage-conf.xml (original)
+++ incubator/cassandra/trunk/conf/storage-conf.xml Wed Jul 1 18:28:54 2009
@@ -20,6 +20,9 @@
<!--======================================================================-->
<!-- Basic Configuration -->
<!--======================================================================-->
+
+ <!-- The name of this cluster. This is mainly used to prevent machines in
+ one logical cluster from joining any other cluster. -->
<ClusterName>Test Cluster</ClusterName>
<!-- Tables and ColumnFamilies
@@ -65,8 +68,10 @@
clusters with a small number of nodes. -->
<InitialToken></InitialToken>
- <!-- RackAware: Setting this to true instructs Cassandra to try and place the replicas in
- a different rack in the same datacenter and one in a different datacenter
+ <!-- RackAware: Setting this to true instructs Cassandra to try
+ and place one replica in a different datacenter, and the
+ others on different racks in the same one. If you haven't
+ looked at the code for RackAwareStrategy, leave this off.
-->
<RackAware>false</RackAware>
@@ -85,30 +90,38 @@
<StagingFileDirectory>/var/cassandra/staging</StagingFileDirectory>
- <!-- Add names of hosts that are deemed contact points. Cassandra nodes use
+ <!-- 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!
-->
<Seeds>
<Seed>127.0.0.1</Seed>
</Seeds>
<!-- Miscellaneous -->
+ <!-- time to wait for a reply from other nodes before failing the command -->
<RpcTimeoutInMillis>5000</RpcTimeoutInMillis>
+ <!-- size to allow commitlog to grow to before creating a new segment -->
<CommitLogRotationThresholdInMB>128</CommitLogRotationThresholdInMB>
<!-- Hosts and Ports -->
+ <!-- Address to bind to and tell other nodes to connect to. Leave blank
+ to allow Cassandra to pick one automatically. You _must_ change this
+ if you want multiple nodes to be able to communicate! -->
<ListenAddress>localhost</ListenAddress>
+ <!-- TCP port, for commands and data -->
<StoragePort>7000</StoragePort>
+ <!-- UDP port, for membership communications (gossip) -->
<ControlPort>7001</ControlPort>
+ <!-- port clients connect to -->
<ThriftPort>9160</ThriftPort>
- <HttpPort>7002</HttpPort>
<!--======================================================================-->
<!-- Memory, Disk, and Performance -->
<!--======================================================================-->
- <!-- Threshold for adding a column index in a row -->
+ <!-- Add column indexes to a row after its contents reach this size -->
<ColumnIndexSizeInKB>256</ColumnIndexSizeInKB>
<!--
@@ -143,8 +156,4 @@
Basic features in Cassandra should work fine without configuring this section.
-->
<ZookeeperAddress>127.0.0.1</ZookeeperAddress>
- <MulticastChannel>230.0.0.1</MulticastChannel>
- <GangliaServers>
- <GangliaServer>127.0.0.1:12000</GangliaServer>
- </GangliaServers>
</Storage>
Modified: incubator/cassandra/trunk/test/conf/storage-conf.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/conf/storage-conf.xml?rev=790301&r1=790300&r2=790301&view=diff
==============================================================================
--- incubator/cassandra/trunk/test/conf/storage-conf.xml (original)
+++ incubator/cassandra/trunk/test/conf/storage-conf.xml Wed Jul 1 18:28:54 2009
@@ -20,7 +20,6 @@
<ClusterName>Test Cluster</ClusterName>
<Partitioner>org.apache.cassandra.dht.OrderPreservingPartitioner</Partitioner>
<RackAware>false</RackAware>
- <MulticastChannel>230.0.0.1</MulticastChannel>
<ReplicationFactor>1</ReplicationFactor>
<ZookeeperAddress>127.0.0.1</ZookeeperAddress>
<RpcTimeoutInMillis>5000</RpcTimeoutInMillis>
@@ -29,8 +28,6 @@
<ControlPort>7001</ControlPort>
<ThriftPort>9160</ThriftPort>
<ColumnIndexSizeInKB>4</ColumnIndexSizeInKB>
- <HttpPort>7002</HttpPort>
- <MetadataDirectory>build/test/cassandra/system</MetadataDirectory>
<CommitLogDirectory>build/test/cassandra/commitlog</CommitLogDirectory>
<CommitLogRotationThresholdInMB>128</CommitLogRotationThresholdInMB>
<DataFileDirectories>