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 7A5D59B29 for ; Tue, 28 Feb 2012 12:41:59 +0000 (UTC) Received: (qmail 18733 invoked by uid 500); 28 Feb 2012 12:41:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 18703 invoked by uid 500); 28 Feb 2012 12:41:57 -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 18695 invoked by uid 99); 28 Feb 2012 12:41:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 12:41:57 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FROM_12LTRDOM,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 12:41:47 +0000 Received: by wicr5 with SMTP id r5so1753817wic.31 for ; Tue, 28 Feb 2012 04:41:27 -0800 (PST) Received-SPF: pass (google.com: domain of richard.evans@thoughtbreak.com designates 10.180.99.164 as permitted sender) client-ip=10.180.99.164; Authentication-Results: mr.google.com; spf=pass (google.com: domain of richard.evans@thoughtbreak.com designates 10.180.99.164 as permitted sender) smtp.mail=richard.evans@thoughtbreak.com Received: from mr.google.com ([10.180.99.164]) by 10.180.99.164 with SMTP id er4mr1915995wib.11.1330432887046 (num_hops = 1); Tue, 28 Feb 2012 04:41:27 -0800 (PST) Received: by 10.180.99.164 with SMTP id er4mr1530580wib.11.1330432886979; Tue, 28 Feb 2012 04:41:26 -0800 (PST) Received: from [192.168.0.9] (cpc17-lewi15-2-0-cust196.2-4.cable.virginmedia.com. [86.5.214.197]) by mx.google.com with ESMTPS id h19sm28548200wiw.9.2012.02.28.04.41.25 (version=SSLv3 cipher=OTHER); Tue, 28 Feb 2012 04:41:26 -0800 (PST) User-Agent: Microsoft-MacOutlook/14.14.0.111121 Date: Tue, 28 Feb 2012 12:41:22 +0000 Subject: Failed to join ring (NAT) From: Richard Evans To: Message-ID: Thread-Topic: Failed to join ring (NAT) Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3413277685_3955132" X-Gm-Message-State: ALoCoQmeJWlMSdA/vUfrCF3ZF0Y+zsvhdECd3sxlCSYMzXZdDLmEh2xxxI4JmACG2ANuWvH0r1Wp X-Virus-Checked: Checked by ClamAV on apache.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3413277685_3955132 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable I have a small ring of two nodes running successfully on aws. In order to understand cassandra support for NAT I have tried to add anothe= r node outside aws on a machine behind NAT. When I try to join the ring, there is a 30s pause after starting the messaging service and then it fails, unable to find other nodes. 12:16:29,834 Starting Messaging Service on port 7000 INFO 12:16:29,848 JOINING: waiting for ring and schema information INFO 12:16:59,849 JOINING: schema complete, ready to bootstrap INFO 12:16:59,850 JOINING: getting bootstrap token ERROR 12:16:59,853 Exception encountered during startup java.lang.RuntimeException: No other nodes seen! Unable to bootstrap.If yo= u intended to start a single-node cluster, you should make sure your broadcast_address (or listen_address) is listed as a seed. Otherwise, you need to determine why the seed being contacted has no knowledge of the rest of the cluster. Usually, this can be solved by giving all nodes the same seed list. at=20 org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java:= 1 68) at=20 org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:15= 0 ) The new node config seed_provider: - seeds: listen_address: broadcast_address: The AWS security group config.. Admits traffic from on ports 7000, 7001, 8080 Netwok paths When the new node was attempting to start, I proved the paths between the seed and the new node. I could =8A. - telnet from awsNode1 to newNode 7000 - telnet from newNode to awsNode1 7000 Can anyone spot my beginner's mistake? Thanks, Richard --B_3413277685_3955132 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable
I have a = small ring of two nodes running successfully on aws. 

In order= to understand cassandra support for NAT I have tried to add another node ou= tside aws on a machine behind NAT.
W= hen I try to join the ring, there is a 30s pause after starting the messagin= g service and  then it fails, unable to find other nodes.

 12:16:29,834 Starting Messaging Serv= ice on port 7000
 INFO 12:16:29,848 JOINING: waiting for ring and schema= information
 INFO 12:16:59,849 JOINING: schema complete, rea= dy to bootstrap
 INFO 12:16:59,850 JOINING: getting bootstrap= token
ERROR 12:16:59,853 Exception encountered during startup
java.lang.RuntimeException: No other nodes seen!  Unable to boot= strap.If you intended to start a single-node cluster, you should make sure y= our broadcast_address (or listen_address) is listed as a seed.  Otherwi= se, you need to determine why the seed being contacted has no knowledge of t= he rest of the cluster.  Usually, this can be solved by giving all node= s the same seed list.
at org.apache.cassandra.dht.BootStrapper.getBootstrapSource= (BootStrapper.java:168)
at org.apache.cassandra.dht.BootStrapper.getBalancedToken= (BootStrapper.java:150)
=

The new node config 
seed_provider:
 - seeds: <awsNode1 external add= ress>

listen_address: <newNode internal address> 
broa= dcast_address: <newNode external address>

The AWS security= group config..
Admits traffic from <newNode external address> on ports 7= 000, 7001, 8080

N= etwok paths
When the new node wa= s attempting to start, I proved the paths between the seed and the new node.= I could ….
 - telnet fro= m awsNode1 to newNode 7000
 - telnet from newNode to awsNode1 7000<= /div>

Can anyon= e spot my beginner's mistake? 
= Thanks,
Richard

--B_3413277685_3955132--