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 7B516297E for ; Thu, 21 Apr 2011 15:34:27 +0000 (UTC) Received: (qmail 65127 invoked by uid 500); 21 Apr 2011 15:34:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 65095 invoked by uid 500); 21 Apr 2011 15:34:25 -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 65087 invoked by uid 99); 21 Apr 2011 15:34:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 15:34:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 15:34:21 +0000 Received: by vws12 with SMTP id 12so1723103vws.31 for ; Thu, 21 Apr 2011 08:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=OS8smTrGE57EjNgZqbDtrPhHcpzmLAeDD8R6IQ7fg0E=; b=d1AgEsXy9WP7XsZf1ansYXnZ40VmxgMLRqThG6gH75ynSwVu52q8SYy3iEgBRFnsgt 2gAY9iQkcoj3V0z3cJURnSEZIUauiFkOPkbix6WE0OJJ5fAgqcK02sBmigXkKAoYPY04 5xMt1S64tp9Mb3kk3GV8+XWzq+iX7NUmr7Iac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=cpUf3z8dNfUabyfOyIQJIt2y2WKlRZCmGea2zTopmE8Gleh+f8W78ILaRZRt3EALfS N0jUI4D89zDXLrDzLIRWfm1dSpSRQPjTfMJQD0G+azVi9r0Z+QArMhOTXib2U4l1+/Od Zaxg2AOnUS2LugycAo+OWKQm/iSIMXepT49oM= Received: by 10.52.115.165 with SMTP id jp5mr179986vdb.13.1303400040143; Thu, 21 Apr 2011 08:34:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.185.6 with HTTP; Thu, 21 Apr 2011 08:33:40 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Thu, 21 Apr 2011 10:33:40 -0500 Message-ID: Subject: Re: How to change the seed node used to discover other nodes in the ring? To: user@cassandra.apache.org Cc: hector-users@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable describe_cluster is showing the value of listen_address On Thu, Apr 21, 2011 at 9:28 AM, Roshan Dawrani w= rote: > 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 > =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 > 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 s= how > "=A0b2844cbc-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 > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com