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 384B22337 for ; Thu, 21 Apr 2011 14:28:53 +0000 (UTC) Received: (qmail 54622 invoked by uid 500); 21 Apr 2011 14:28:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 54598 invoked by uid 500); 21 Apr 2011 14:28:51 -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 54590 invoked by uid 99); 21 Apr 2011 14:28:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 14:28:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roshandawrani@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 14:28:44 +0000 Received: by bwz13 with SMTP id 13so1728631bwz.31 for ; Thu, 21 Apr 2011 07:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=KKkHPzu5n7ddKQjTe4iAvINXJaK1uPsaDg9JZN++jds=; b=dUyBYrywdpW3airvF6iDLOwu61VRfu3OjreL6rwdx34jfu+J3bVSTa7FfN+q6O2ojH F22spaaGotF1iJREeetlNv1aXBoiRHG/96sSXlkhXj43JmGK9ong/FBJjwO0YxdpbV22 oBiOCim3YTN+aW5S3hVDep7/jmNHIy8wgHEhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WSPJeeOqdbGDjNnsyDRrkhvP0hKj7LBI+UX0Un1cVDqPFZUhxWA0Fy90FMDxDHurUH rIaeOe2nhTGYE9wtF14NGTGrOvJqqsdHJetm3W7WInMEekfHGGNtn3F34NRAqnWfdBv/ UUho5CFboWt0GhLoOCNUpfjp+FdJtaIR/ien0= MIME-Version: 1.0 Received: by 10.204.19.10 with SMTP id y10mr2373299bka.190.1303396104352; Thu, 21 Apr 2011 07:28:24 -0700 (PDT) Received: by 10.204.37.133 with HTTP; Thu, 21 Apr 2011 07:28:24 -0700 (PDT) Date: Thu, 21 Apr 2011 19:58:24 +0530 Message-ID: Subject: How to change the seed node used to discover other nodes in the ring? From: Roshan Dawrani To: hector-users@googlegroups.com, user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000325557406cd332904a16e8d35 X-Virus-Checked: Checked by ClamAV on apache.org --000325557406cd332904a16e8d35 Content-Type: text/plain; charset=ISO-8859-1 Hi, In our Cassandra/Hector environment, we are trying to turn the auto-discovery of nodes in the ring on. We have created the DB using the following default in cassandra.yaml =============================================================== # 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: - 127.0.0.1 =============================================================== We don't want 127.0.0.1 to be used as the seed node. Our single node is setup elsewhere right now. Changing it in cassandra.yaml is not taking any immediate effect? Even after changing it in cassandra.yaml, describe cluster continues to show " b2844cbc-5c62-11e0-9166-e700f669bcfc: [127.0.0.1]" Does this configuration get stored in some system table? How can I change it now? Through JMX? Some specific command? -- Roshan Blog: http://roshandawrani.wordpress.com/ Twitter: @roshandawrani Skype: roshandawrani --000325557406cd332904a16e8d35 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

In our Cassandra/Hector environment, we are trying t= o turn the auto-discovery of nodes in the ring on. We have created the DB u= sing the following default in cassandra.yaml
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
# 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. =A0You must change this if you are running
# multiple nodes!
seeds:
=A0=A0 =A0- 127.0.0.1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
<= div>
We don't want 127.0.0.1 to be used as the seed node.= Our single node is setup elsewhere right now.

Changing it in cassandra.yaml is not taking any immedia= te effect?

Even after changing it in cassandra.yam= l, describe cluster continues to show "=A0b2844cbc-5c62-11e0-9166-e700= f669bcfc: [127.0.0.1]"

Does this configuration get stored in some system table= ? How can I change it now? Through JMX? Some specific command?
--
Roshan
Blog: http://roshandawrani.wordpress.com/
Twitter: @ro= shandawrani
Skype: roshandawrani

--000325557406cd332904a16e8d35--