Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 97595 invoked from network); 8 Mar 2011 00:52:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 00:52:03 -0000 Received: (qmail 20263 invoked by uid 500); 8 Mar 2011 00:52:01 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20206 invoked by uid 500); 8 Mar 2011 00:52:00 -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 20195 invoked by uid 99); 8 Mar 2011 00:52:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 00:52:00 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a46.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 00:51:53 +0000 Received: from homiemail-a46.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTP id 83FA33E4062 for ; Mon, 7 Mar 2011 16:51:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=kFftdVBHKzL+9CBli5xbT8epRarvrC4GusdLw+LsbtP POmi4DiiFkNJ5zMsKG2S9zuClFRBAZrz4iFe0Hwj2xe22ck416gI33wzGpyY9ghE resXSE0Gbwyc+GN4zXHkHWMLb8BA3gmr7NjdgLyYv04QL2m5cX98u8nhvqMj2qY0 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=jY1gVS7+v8LHWPMm0JZORmQNnwA=; b=raLrnrIKMK iNFNg+5iGN/m1xIN2b41ZSj4C/Ll7Pn4SHUG/Wk0rUKZAXgzU9Nbe5t3cNv+fDf+ 9pW+j94jJAJYHbmVotQUAx1wm200bsdX+nhrTaIN/o2ppUU4nRkVResfTGrWQTbO CTQn3no4sj4ou26wQceiNlgXdNi3EOP2U= Received: from [10.0.1.159] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTPSA id B10253E405C for ; Mon, 7 Mar 2011 16:51:31 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082.1) Subject: Re: Error when bringing up nodes during failure testing From: aaron morton In-Reply-To: <1299521388336-6098332.post@n2.nabble.com> Date: Tue, 8 Mar 2011 13:51:29 +1300 Content-Transfer-Encoding: quoted-printable Message-Id: <0DCFF80F-4FEE-4846-92A0-BC4F7CB3F8EF@thelastpickle.com> References: <1299173972385-6085692.post@n2.nabble.com> <733AEDB8-9F6E-44A0-822B-60C8F38DFE9F@thelastpickle.com> <1299521388336-6098332.post@n2.nabble.com> To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1082.1) X-Virus-Checked: Checked by ClamAV on apache.org It's failing because when the node bootstraps it does not know about = enough nodes to support the RF... > replication factor (3) exceeds number of > endpoints (2) I *think* the normal work around is to disable autobootstrap, bring the = nodes up then run "nodetool join" or StorageService.joinRing() via the = JConsole. I not tested this, but reading the code that looks OK. Can you try it = out and let me know how it goes? Aaron On 8/03/2011, at 7:09 AM, mcasandra wrote: >=20 > aaron morton wrote: >>=20 >> Can you include the full error stack ?=20 >>=20 >=20 >=20 > Please find the complete stack trace. Can't really move forward with = it not > knowing the cause: >=20 >=20 > ERROR [main] 2011-03-02 16:28:23,923 AbstractCassandraDaemon.java = (line 234) > Exception encountered during startup. > java.lang.IllegalStateException: replication factor (3) exceeds number = of > endpoints (2) > at > = org.apache.cassandra.locator.SimpleStrategy.calculateNaturalEndpoints(Simp= leStrategy.java:60) > at > = org.apache.cassandra.locator.AbstractReplicationStrategy.getRangeAddresses= (AbstractReplicationStrategy.java:204) > at > = org.apache.cassandra.dht.BootStrapper.getRangesWithSources(BootStrapper.ja= va:198) > at > org.apache.cassandra.dht.BootStrapper.bootstrap(BootStrapper.java:83) > at > = org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:= 417) > at > = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :361) > at > = org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassand= raDaemon.java:161) > at > = org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:55)= > at > = org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCass= andraDaemon.java:217) > at > = org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:134)= >=20 >=20 > -- > View this message in context: = http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Exception= -when-bringing-up-nodes-during-failure-testing-tp6085692p6098332.html > Sent from the cassandra-user@incubator.apache.org mailing list archive = at Nabble.com.