From user-return-17305-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri Jun 3 17:14:43 2011 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 039F761CC for ; Fri, 3 Jun 2011 17:14:43 +0000 (UTC) Received: (qmail 90670 invoked by uid 500); 3 Jun 2011 17:14:40 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90645 invoked by uid 500); 3 Jun 2011 17:14:40 -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 90637 invoked by uid 99); 3 Jun 2011 17:14:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 17:14:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [38.102.63.180] (HELO smtp-1.01.com) (38.102.63.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 17:14:33 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-1.01.com (Postfix) with ESMTP id 113F236444F for ; Fri, 3 Jun 2011 12:14:12 -0500 (CDT) Received: from smtp-1.01.com ([127.0.0.1]) by localhost (smtp-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AhJejijwCzTS for ; Fri, 3 Jun 2011 12:14:11 -0500 (CDT) Received: by smtp-1.01.com (Postfix, from userid 99) id A7663364451; Fri, 3 Jun 2011 12:14:11 -0500 (CDT) Received: from mail-1.01.com (mail-1.01.com [38.102.63.171]) by smtp-1.01.com (Postfix) with ESMTP id 3F36AE3467 for ; Fri, 3 Jun 2011 12:14:11 -0500 (CDT) Date: Fri, 3 Jun 2011 12:14:11 -0500 (CDT) From: Konstantin Naryshkin To: user@cassandra.apache.org Message-ID: <742173316.225682.1307121250961.JavaMail.root@mail-1.01.com> In-Reply-To: Subject: Re: Setting up cluster and nodetool ring in 0.8.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_225681_991563948.1307121250960" X-Originating-IP: [96.237.179.12] X-Mailer: Zimbra 6.0.12_GA_2888 (ZimbraWebClient - FF3.0 (Linux)/6.0.12_GA_2883) ------=_Part_225681_991563948.1307121250960 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Did you set the token values for you nodes? I remember having similar symptoms when I had a token conflict. ----- Original Message ----- From: "David McNelis" To: user@cassandra.apache.org Sent: Friday, June 3, 2011 5:06:10 PM Subject: Re: Setting up cluster and nodetool ring in 0.8.0 Edward, I change my seed node to use its route-able IP address as its own seed instead of 127.0.0.1. I still, however, still see the same results when running nodetool. On Fri, Jun 3, 2011 at 11:37 AM, Edward Capriolo < edlinuxguru@gmail.com > wrote: On Fri, Jun 3, 2011 at 12:21 PM, David McNelis < dmcnelis@agentisenergy.com > wrote:
I want to make sure I'm not seeing things from a weird perspective. I have two Cassandra instances where one is set to be the seed, with autobootstap disabled and its seed being 127.0.0.1. The second instance has autobootstrap enabled and the seed IP set to the IP of the first node. I start the first node, then the second, with no errors. However, when I run: bin/nodetool -h localhost ring My output shows me only the local machine in my ring. When I run: bin/nodetool -h localhost join seedNodeIP It tells me I'm already a part of the ring. My question is which is correct? I thought, from the documentation, that both of my nodes would show up in the ring if I ran 'ring' in nodetool. This is a new cluster. -- David McNelis Lead Software Engineer Agentis Energy www.agentisenergy.com o: 630.359.6395 c: 219.384.5143 A Smart Grid technology company focused on helping consumers of energy control an often under-managed resource. Do use 127.0.0.1 as a seed (except for single node test clusters) Use a route-able ip that other cluster nodes can use to reach that node.
-- David McNelis Lead Software Engineer Agentis Energy www.agentisenergy.com o: 630.359.6395 c: 219.384.5143 A Smart Grid technology company focused on helping consumers of energy control an often under-managed resource. ------=_Part_225681_991563948.1307121250960 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Did you set the token values for you nodes? I remember having similar symptoms when I had a token conflict.


From: "David McNelis" <dmcnelis@agentisenergy.com>
To: user@cassandra.apache.org
Sent: Friday, June 3, 2011 5:06:10 PM
Subject: Re: Setting up cluster and nodetool ring in 0.8.0

Edward,

I change my seed node to use its route-able IP address as its own seed instead of 127.0.0.1.  I still, however, still see the same results when running nodetool.

On Fri, Jun 3, 2011 at 11:37 AM, Edward Capriolo <edlinuxguru@gmail.com> wrote:


On Fri, Jun 3, 2011 at 12:21 PM, David McNelis <dmcnelis@agentisenergy.com> wrote:
I want to make sure I'm not seeing things from a weird perspective.  I have two Cassandra instances where one is set to be the seed, with autobootstap disabled and its seed being 127.0.0.1.

The second instance has autobootstrap enabled and the seed IP set to the IP of the first node.

I start the first node, then the second, with no errors.  However, when I run:

bin/nodetool -h localhost ring

My output shows me only the local machine in my ring.  When I run:

bin/nodetool -h localhost join seedNodeIP

It tells me I'm already a part of the ring. 

My question is which is correct?  I thought, from the documentation, that both of my nodes would show up in the ring if I ran 'ring' in nodetool.

This is a new cluster.

--
David McNelis
Lead Software Engineer
Agentis Energy

A Smart Grid technology company focused on helping consumers of energy control an often under-managed resource.



Do use 127.0.0.1 as a seed (except for single node test clusters) Use a route-able ip that other cluster nodes can use to reach that node.




--
David McNelis
Lead Software Engineer
Agentis Energy
o: 630.359.6395
c: 219.384.5143

A Smart Grid technology company focused on helping consumers of energy control an often under-managed resource.


------=_Part_225681_991563948.1307121250960--