Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 68885 invoked from network); 2 Mar 2011 20:29:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 20:29:32 -0000 Received: (qmail 17763 invoked by uid 500); 2 Mar 2011 20:29:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17740 invoked by uid 500); 2 Mar 2011 20:29:30 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 17732 invoked by uid 99); 2 Mar 2011 20:29:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 20:29:30 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a58.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 20:29:22 +0000 Received: from homiemail-a58.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTP id 7D91D7D805B for ; Wed, 2 Mar 2011 12:29:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=subject :references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; q=dns; s= thelastpickle.com; b=1OuWxGXhd2ve4qpIcOmZ4t/NiozzYwaARJWmwAtiF68 BvlvxkhxdsE3Z6zywWGrGAIa2fuCmZS0zXbt35JglMLQPSJ0aqcaZoaKv7q4t2yn cj1MPWTlIO/6mRLCmN4FVwiqWSDKFFzDyCEXMxvtbYKZuqOgInKuCyopHNL7fBaw = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= subject:references:from:content-type:in-reply-to:message-id:date :to:content-transfer-encoding:mime-version; s=thelastpickle.com; bh=6KYPOxjYXuRm2qUm2sKq65zMLWI=; b=xciF3ppQTDvTHmZR7Y7Brayg0GSb rOqNT1mjbKsrtJzurh2wVNpvSG53AOBrsKyF23UXD6BMcbAc8QJ1bLQW01mVXiVJ ApC31CG/Eaqk2QdGVDGZrGQICKcg2zBo8EDZ2ELuau4q7b7agSbm39AE/6QmR5Ie W3kQfuazHLEOvwE= Received: from [115.189.198.139] (unknown [115.189.198.139]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTPSA id D38E37D8057 for ; Wed, 2 Mar 2011 12:28:59 -0800 (PST) Subject: Re: cassandra.yaml References: From: Aaron Morton Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (8C148) In-Reply-To: Message-Id: Date: Thu, 3 Mar 2011 09:28:51 +1300 To: "user@cassandra.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPad Mail 8C148) X-Virus-Checked: Checked by ClamAV on apache.org All nodes should have the correct configuration files. With the only differe= nce been the initial token. Aaron On 3/03/2011, at 6:18 AM, A J wrote: > Hello, > I am trying to setup a cluser (for the first time) of a few nodes. Had > a few questions related to that. >=20 > I want the following properties in my cluster: > 1. Not to use RP but BOP > 2. Specify initial token myself on each node. > 3. Change a few memtable defaults. > 4. For Keyspaces to use NetworkTopologyStrategy rather than the > default SimpleStrategy. I wish to specify how many copies each DC > should carry. >=20 > For the above I changed the cassandra.yaml and > cassandra-topology.properties files appropriately on the first node. >=20 > My question is: For the rest of the nodes, do I have to make all of > the above changes first to their respective config files or just a > smaller subset such as (listen_address, seed, autobootstrap and > rpc_address) ? What happens if there is a conflict between the yaml > files on different nodes (say one says RP and other says BOP. Or say > one says PropertyFileSnitch and the other says SimpleSnitch)? >=20 > Is there a good post or video tutorial somewhere that walks step by > step of cassandra cluster setup, which talks of all these and then how > to change various knobs (tokens,replication_factor, > cassandra-topology.properties etc) and see their effect on the cluster > ? >=20 > Many thanks.