Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 96918 invoked from network); 26 Jul 2010 01:26:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jul 2010 01:26:08 -0000 Received: (qmail 6847 invoked by uid 500); 26 Jul 2010 01:26:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 6831 invoked by uid 500); 26 Jul 2010 01:26:06 -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 6823 invoked by uid 99); 26 Jul 2010 01:26:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 01:26:06 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 01:25:59 +0000 Received: by wwj40 with SMTP id 40so7295297wwj.25 for ; Sun, 25 Jul 2010 18:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=JEktTjcnk27GbV+Bd/+VjM1wa/gfFfPVQ2UhRPgWC7M=; b=rJe16y/bP20XY2wI2/f4ohysigRLJst6Y7jkcTWBZ6o80D00ZZsGK6DuWR0ytoFgXf SSBpDRpgRZU2/oJA/CKBK/iCGhyTtSLo4nMHtPKACR2MCzOdNtyItLhKRie/ujeKTiZ5 ZZ5BEmWjdg/ESSzMJ1t/RD0DSHsaIElkL/fl0= 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 :content-type:content-transfer-encoding; b=CmQ7MBp9Q6v9T/XwOQGq0A0Xe0qshYTx1S1FYfqiAW9XAYKPt1f8Q1K9dqua89R+NV 3kuZIwZs186e+gxJ40mWDTVjlFS29HMYsrrlXHdm5CB5TJJmoQyOpGX7w46+odnmGuFe waRKnM0ONMmYdypWRjH+/oMb3kOPsdlgtU6e4= Received: by 10.227.37.140 with SMTP id x12mr6612783wbd.98.1280107539353; Sun, 25 Jul 2010 18:25:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.10.82 with HTTP; Sun, 25 Jul 2010 18:25:19 -0700 (PDT) In-Reply-To: <4C49E143.90203@pdf.com> References: <4C49E143.90203@pdf.com> From: Jonathan Ellis Date: Sun, 25 Jul 2010 18:25:19 -0700 Message-ID: Subject: Re: Failing to create a 2 Node cluster on a Windows machine To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I know on a mac you need to explicitly create an alias for 127.0.0.2 before it can be used. Maybe something similar applies to Windows. On Fri, Jul 23, 2010 at 11:36 AM, Alaa Zubaidi wrote= : > Hi, > > I am new to Cassandra, and I want to create a 2 node cluster on the SAME > machine running windows for testing my application before we get new > hardware. > I am facing "No other nodes seen! Unable to bootstrap" > The first node starts successfully while the second node gives me the err= or. > All ports are open and the firewall is off. > > I changed cassandra.bat for the 2node (transport=3Ddt_socket address=3D88= 89 and > jmxremote.port=3D8081) > Attached is the config file for the second node---> > Here are some configuration for the second node: > =A0true > ... > > =A0=A0=A0=A0=A0 127.0.0.1 > =A0 > ... > 127.0.0.2 > =A0 > =A0 7000 > ... > 127.0.0.2 > =A0 > =A0 9160 > > Here are some configuration for the Fist node: > true > ... > > =A0=A0=A0=A0=A0 127.0.0.1 > =A0 > ... > 127.0.0.1 > =A0 > =A0 7000 > ... > 127.0.0.1 > =A0 > =A0 9160 > > > Here is the actual output when I try to start the second node: > C:\development\Cassandra\Node2\bin>cassandra.bat -f > Starting Cassandra Server > Listening for transport dt_socket at address: 8889 > =A0INFO 11:07:26,156 Auto DiskAccessMode determined to be standard > =A0INFO 11:07:26,437 Sampling index for > D:\Cassandra\node2\data\system\LocationInf > o-1-Data.db > =A0INFO 11:07:26,546 Replaying > D:\Cassandra\node2\commitlog\CommitLog-127990614678 > 1.log > =A0INFO 11:07:26,562 Finished reading > D:\Cassandra\node2\commitlog\CommitLog-12799 > 06146781.log > =A0INFO 11:07:26,562 Log replay complete > =A0INFO 11:07:26,625 Saved Token found: > 163146947600437170198195869670086589920 > =A0INFO 11:07:26,625 Saved ClusterName found: Test Cluster > =A0INFO 11:07:26,625 Saved partitioner not found. Using > org.apache.cassandra.dht.R > andomPartitioner > =A0INFO 11:07:26,625 Creating new commitlog segment > D:\Cassandra\node2\commitlog\C > ommitLog-1279908446625.log > =A0INFO 11:07:26,640 LocationInfo has reached its threshold; switching in= a > fresh > Memtable at > CommitLogContext(file=3D'D:\Cassandra\node2\commitlog\CommitLog-127990 > 8446625.log', position=3D361) > =A0INFO 11:07:26,640 Enqueuing flush of Memtable-LocationInfo@10936489(95 > bytes, 2 > =A0operations) > =A0INFO 11:07:26,640 Writing Memtable-LocationInfo@10936489(95 bytes, 2 > operations > ) > =A0INFO 11:07:26,765 Completed flushing > D:\Cassandra\node2\data\system\LocationInf > o-2-Data.db > =A0INFO 11:07:26,765 Starting up server gossip > =A0INFO 11:07:26,796 Joining: getting load information > =A0INFO 11:07:26,796 Sleeping 90000 ms to wait for load information... > =A0INFO 11:08:56,796 Joining: getting bootstrap token > ERROR 11:08:56,843 Exception encountered during startup. > java.lang.RuntimeException: No other nodes seen!=A0 Unable to bootstrap > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper > .java:120) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.j > ava:102) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper. > java:97) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.service.StorageService.initServer(StorageService > .java:357) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.jav > a:115) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java > :211) > Exception encountered during startup. > java.lang.RuntimeException: No other nodes seen!=A0 Unable to bootstrap > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper > .java:120) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.j > ava:102) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper. > java:97) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.service.StorageService.initServer(StorageService > .java:357) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.jav > a:115) > =A0=A0=A0=A0=A0=A0=A0 at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java > :211) > > > > -- > Alaa Zubaidi > PDF Solutions, Inc. > 333 West San Carlos Street, Suite 700 > San Jose, CA 95110 USA > Tel: 408-283-5639 (or 408-280-7900 x5639) > fax: 408-938-6479 > email: alaa.zubaidi@pdf.com --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com