From user-return-7888-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Sat Jul 24 22:54:36 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 88451 invoked from network); 24 Jul 2010 22:54:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jul 2010 22:54:36 -0000 Received: (qmail 39976 invoked by uid 500); 24 Jul 2010 22:54:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 39914 invoked by uid 500); 24 Jul 2010 22:54:34 -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 39905 invoked by uid 99); 24 Jul 2010 22:54:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jul 2010 22:54:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.207.44.48] (HELO postrelay-1.pdf.com) (216.207.44.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jul 2010 22:54:28 +0000 Received: from domo-sjc-001.pdf.com (domo-sjc-001.pdf.com [10.10.9.180]) by postrelay-1.pdf.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id o6OMqfEw027043 for ; Sat, 24 Jul 2010 15:52:41 -0700 Received: from [127.0.0.1] ([10.2.10.137]) by domo-sjc-001.pdf.com (8.13.8/8.13.8) with ESMTP id o6OMs6tu019322 for ; Sat, 24 Jul 2010 15:54:07 -0700 Message-ID: <4C4B6F14.9020907@pdf.com> Date: Sat, 24 Jul 2010 15:54:12 -0700 From: Alaa Zubaidi User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Failing to create a 2 Node cluster on a Windows machine References: <4C49E143.90203@pdf.com> In-Reply-To: <4C49E143.90203@pdf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Any insight is much appreciated.. 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 > error. > All ports are open and the firewall is off. > > I changed cassandra.bat for the 2node (transport=dt_socket > address=8889 and jmxremote.port=8081) > *Attached is the config file for the second node*---> > Here are some configuration for the *second *node: > true > ... > > 127.0.0.1 > > ... > 127.0.0.2 > > 7000 > ... > 127.0.0.2 > > 9160 > > Here are some configuration for the *Fist* node: > true > ... > > 127.0.0.1 > > ... > 127.0.0.1 > > 7000 > ... > 127.0.0.1 > > 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 > INFO 11:07:26,156 Auto DiskAccessMode determined to be standard > INFO 11:07:26,437 Sampling index for > D:\Cassandra\node2\data\system\LocationInf > o-1-Data.db > INFO 11:07:26,546 Replaying > D:\Cassandra\node2\commitlog\CommitLog-127990614678 > 1.log > INFO 11:07:26,562 Finished reading > D:\Cassandra\node2\commitlog\CommitLog-12799 > 06146781.log > INFO 11:07:26,562 Log replay complete > INFO 11:07:26,625 Saved Token found: > 163146947600437170198195869670086589920 > INFO 11:07:26,625 Saved ClusterName found: Test Cluster > INFO 11:07:26,625 Saved partitioner not found. Using > org.apache.cassandra.dht.R > andomPartitioner > INFO 11:07:26,625 Creating new commitlog segment > D:\Cassandra\node2\commitlog\C > ommitLog-1279908446625.log > INFO 11:07:26,640 LocationInfo has reached its threshold; switching > in a fresh > Memtable at > CommitLogContext(file='D:\Cassandra\node2\commitlog\CommitLog-127990 > 8446625.log', position=361) > INFO 11:07:26,640 Enqueuing flush of > Memtable-LocationInfo@10936489(95 bytes, 2 > operations) > INFO 11:07:26,640 Writing Memtable-LocationInfo@10936489(95 bytes, 2 > operations > ) > INFO 11:07:26,765 Completed flushing > D:\Cassandra\node2\data\system\LocationInf > o-2-Data.db > INFO 11:07:26,765 Starting up server gossip > INFO 11:07:26,796 Joining: getting load information > INFO 11:07:26,796 Sleeping 90000 ms to wait for load information... > INFO 11:08:56,796 Joining: getting bootstrap token > ERROR 11:08:56,843 Exception encountered during startup. > java.lang.RuntimeException: No other nodes seen! Unable to bootstrap > at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper > .java:120) > at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.j > ava:102) > at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper. > java:97) > at > org.apache.cassandra.service.StorageService.initServer(StorageService > .java:357) > at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.jav > a:115) > at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java > :211) > Exception encountered during startup. > java.lang.RuntimeException: No other nodes seen! Unable to bootstrap > at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper > .java:120) > at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.j > ava:102) > at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper. > java:97) > at > org.apache.cassandra.service.StorageService.initServer(StorageService > .java:357) > at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.jav > a:115) > 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 -- 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