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 85185D285 for ; Wed, 1 Aug 2012 09:27:32 +0000 (UTC) Received: (qmail 44947 invoked by uid 500); 1 Aug 2012 09:27:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44767 invoked by uid 500); 1 Aug 2012 09:27:30 -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 44738 invoked by uid 99); 1 Aug 2012 09:27:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 09:27:28 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Roshni.Rajagopal@wal-mart.com designates 161.165.225.14 as permitted sender) Received: from [161.165.225.14] (HELO PPES-Mail-E1.wal-mart.com) (161.165.225.14) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 09:27:20 +0000 Received: from pps.filterd (PPES-Mail-E1 [127.0.0.1]) by PPES-Mail-E1.wal-mart.com (8.14.4/8.14.4) with SMTP id q719Pcxv007084 for ; Wed, 1 Aug 2012 04:26:59 -0500 Received: from honts3512.homeoffice.wal-mart.com ([161.165.225.1]) by PPES-Mail-E1.wal-mart.com with ESMTP id 16eyx6rkaq-1 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 01 Aug 2012 04:26:59 -0500 Received: from DCNTS3701us.homeoffice.Wal-Mart.com (172.29.104.84) by HONTS3512.homeoffice.Wal-Mart.com (161.166.40.69) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 1 Aug 2012 04:26:59 -0500 Received: from DCNTS3000XCHUS.homeoffice.Wal-Mart.com ([172.29.104.74]) by DCNTS3701us.homeoffice.Wal-Mart.com ([172.29.104.84]) with mapi; Wed, 1 Aug 2012 02:26:59 -0700 From: Roshni Rajagopal To: "user@cassandra.apache.org" Date: Wed, 1 Aug 2012 02:29:39 -0700 Subject: Re: Unsuccessful attempt to add a second node to a ring. Thread-Topic: Unsuccessful attempt to add a second node to a ring. Thread-Index: Ac1vx8xwUDXlBpGpRdOU2OXLLVaU3A== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.2.120421 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.260,0.0.0000 definitions=2012-08-01_04:2012-08-01,2012-08-01,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Jakub, Have you set the Data, commitlog, saved cache directories to different ones in each yaml fil= e for each node? Regards, Roshni From: Jakub Glapa > Reply-To: "user@cassandra.apache.org" > To: "user@cassandra.apache.org" > Subject: Unsuccessful attempt to add a second node to a ring. Hi Everybody! I'm trying to add a second node to an already operating one node cluster. Some specs: - cassandra 1.0.7 - both nodes have a routable listen_address and rpc_address. - Ports are open: (from node2) telnet node1 7000 is successful - Seeds parameter on node2 points to node 1. [node1] nodetool -h localhost ring Address DC Rack Status State Load Owns= Token node1.ip datacenter1 rack1 Up Normal 74.33 KB 100.00%= 0 - initial token on node2 was specified I see something like that in the logs on node2: DEBUG [main] 2012-07-31 13:50:38,640 CollationController.java (line 76) col= lectTimeOrderedData INFO [main] 2012-07-31 13:50:38,641 StorageService.java (line 667) JOINING= : waiting for ring and schema information DEBUG [WRITE-NODE1/node1.ip] 2012-07-31 13:50:39,642 OutboundTcpConnection.= java (line 206) attempting to connect to NODE1/node1.ip DEBUG [ScheduledTasks:1] 2012-07-31 13:50:40,639 LoadBroadcaster.java (line= 86) Disseminating load info ... INFO [main] 2012-07-31 13:51:08,641 StorageService.java (line 667) JOINING= : schema complete, ready to bootstrap DEBUG [main] 2012-07-31 13:51:08,642 StorageService.java (line 554) ... got= ring + schema info INFO [main] 2012-07-31 13:51:08,642 StorageService.java (line 667) JOINING= : getting bootstrap token DEBUG [main] 2012-07-31 13:51:08,644 BootStrapper.java (line 138) token man= ually specified as 85070591730234615865843651857942052864 DEBUG [main] 2012-07-31 13:51:08,645 Table.java (line 387) applying mutatio= n of row 4c but it doesn't join the ring: [node2] nodetool -h localhost ring Address DC Rack Status State Load Owns= Token node2.ip datacenter1 rack1 Up Normal 13.49 KB 100.00% 8= 5070591730234615865843651857942052864 I'm attaching the full log from node2 startup in debug mode. PS. When I didn't specified the initial token on node2 I ended up with exceptio= n like that: "Exception encountered during startup: No other nodes seen! Unable to boot= strap.If you 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 knowle= dge of the rest of the cluster. Usually, this can be solved by giving all = nodes the same seed list." I'm not sure how to proceed now. I found a couple of posts with problems li= ke that but they weren't very useful. -- regards, Jakub Glapa This email and any files transmitted with it are confidential and intended = solely for the individual or entity to whom they are addressed. If you have= received this email in error destroy it immediately. *** Walmart Confident= ial ***