Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 90044 invoked from network); 1 Jul 2009 18:25:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 18:25:16 -0000 Received: (qmail 94884 invoked by uid 500); 1 Jul 2009 18:25:27 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 94854 invoked by uid 500); 1 Jul 2009 18:25:27 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 94840 invoked by uid 99); 1 Jul 2009 18:25:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 18:25:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 18:25:24 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 31F48118AE for ; Wed, 1 Jul 2009 18:25:03 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: cassandra-commits@incubator.apache.org Date: Wed, 01 Jul 2009 18:25:03 -0000 Message-ID: <20090701182503.12048.70339@eos.apache.org> Subject: [Cassandra Wiki] Update of "Setup" by JonathanEllis X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification. The following page has been changed by JonathanEllis: http://wiki.apache.org/cassandra/Setup ------------------------------------------------------------------------------ - There is a standard config that comes with the download of Cassandra. Here is a description of some of the basic information that needs to be in the configuration file: + We used to describe some of the options in conf/storage-conf.xml here, but it quickly became out of date and confusing rather than helpful. If you followed a link here from elsewhere in the wiki, please update that page to point people to the canonical source instead. - ||'''Property'''||'''Description'''||'''Default'''|| - ||!ClusterName||The name of this cluster. This is mainly used to prevent machines in another logical cluster from joining any other cluster.||Test|| - ||!HashingStrategy||Partitioning strategy required. Choices are RANDOM and OPHF||RANDOM|| - ||!RackAware||Replication policy preferred. For now just say false||false|| - ||!MulticastChannel||This is not used anymore.|||| - ||!ReplicationFactor||Replication factor desired||3|| - ||!ZookeeperAddress||This is not used currently.|||| - ||!RpcTimeoutInMillis||RPC timeout in milliseconds||2000|| - ||!StoragePort||TCP port on which all inter cluster communication takes place.||7000|| - ||!ControlPort||UDP port on which all cluster membership communications occur.||7001|| - ||ColumnIndexSizeInKB||Size after which columns are indexed by the system||256KB|| - ||!HttpPort||HTTP port for the WEB dashboard.||80|| - ||!MetadataDirectory||Cassandra metadata information location.|||| - ||!CommitLogDirectory||Location of the commit log.|||| - ||CommitLogRotationThresholdInMB||Size after which commit log needs to be rotated.||128|| - ||Seeds||This is for dynamic node discovery. Nodes discover other nodes by initially contacting the seeds.|||| - - After the installation step navigate to the directory that contains the ANT build config and type "ant jar" at the prompt. Some common problems in the deployment steps are: - - * Modify the start-server script to the -Dstorage-config property to the location which contains the storage-conf.xml - * Make sure the log4j.properties also resides in the same location as above. - * Make sure the directory location for the log4j log files are pre-created or you could make them part of the start-server script. - * Modify the Java heap settings in the start-server as per your requirements. - - Typical Cassandra deployment has been on machines with 16GB RAM dual CPU quad core machines and more disks the better. We have typically used 3 disks per machine. -