Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 217F510C1F for ; Mon, 3 Jun 2013 23:59:56 +0000 (UTC) Received: (qmail 99705 invoked by uid 500); 3 Jun 2013 23:59:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 99600 invoked by uid 500); 3 Jun 2013 23:59:53 -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 99592 invoked by uid 99); 3 Jun 2013 23:59:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 23:59:53 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of aiman@grapheffect.com does not designate 209.85.223.172 as permitted sender) Received: from [209.85.223.172] (HELO mail-ie0-f172.google.com) (209.85.223.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 23:59:47 +0000 Received: by mail-ie0-f172.google.com with SMTP id 17so12452475iea.31 for ; Mon, 03 Jun 2013 16:59:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer:x-gm-message-state; bh=/2Ag9zl419xXQB9TjWJQRX9tguw9ssFywdxXXdvIovQ=; b=SE7Gf/PEunHkhSQvwAbPuW+hE1p8jvo1VA5+ZHi64aXt/69VY+Xq+AvlBUkfNIkQvm mJaDTK+FYkHI0neLmKxY7cELAvXdlKywyJcgjgoctTzPw1LwAMMWfWI4xGZ0lo0cElUg 6k7pCOnROO2pwJVFz8w8Oc/BBm1NbJjF0QANPOctJT+51B5uNzki5hxT9pagsRpenzTZ ZMNcCBzRExc3a8isPRPL1ikkwftxZdat38+voW/XBdBOrgmrObhOanekCWXcfGLg60V3 LP2MxuDa1kk2BYgqVoZ93f01SPbRttvv5+s1rEk5OehPySESZt0iHbY+VhqHeHkJuibx UuTg== X-Received: by 10.50.134.226 with SMTP id pn2mr210715igb.95.1370303966709; Mon, 03 Jun 2013 16:59:26 -0700 (PDT) Received: from [192.168.1.22] (rrcs-76-79-124-119.west.biz.rr.com. [76.79.124.119]) by mx.google.com with ESMTPSA id l14sm21742273igf.9.2013.06.03.16.59.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 16:59:25 -0700 (PDT) From: Aiman Parvaiz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Populating seeds dynamically Message-Id: <07D758D3-39D2-4376-AEB9-8F6C5C81E831@grapheffect.com> Date: Mon, 3 Jun 2013 16:59:23 -0700 To: "user@cassandra.apache.org" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQnEmPV+Gl69zKqjX/uvaDOzqe+Pk3r+52BPfNnxQ/Zl76vyKAXv/oh6JW/Sdw94vm8ZyZaW X-Virus-Checked: Checked by ClamAV on apache.org Hi all I am using puppet to push cassandra.yaml file which has seeds node = hardcoded, going forward I don't want to hard code the seed nodes and I = plan to maintain a list of seed nodes. Since I have a cluster in place I = would populate this list for now to start with and next time when I add = a node this list would be referred and three nodes would be read and = populated as seeds in the yaml file. This implementation can lead to different nodes running different seeds = I know that this is not a ideal situation but I believe that if a node = has been in the ring for long enough(say 10 minutes, it knows about = other nodes in the ring) then it can be used as a seed node. What do you guys think of populating seeds this way and also please = throw some light on why running different seeds is not a best = practice(assuming that all potential seed candidates have been in ring = long enough) Thanks=