Return-Path: Delivered-To: apmail-incubator-cassandra-dev-archive@minotaur.apache.org Received: (qmail 18465 invoked from network); 30 Oct 2009 16:28:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Oct 2009 16:28:40 -0000 Received: (qmail 71221 invoked by uid 500); 30 Oct 2009 16:28:40 -0000 Delivered-To: apmail-incubator-cassandra-dev-archive@incubator.apache.org Received: (qmail 71202 invoked by uid 500); 30 Oct 2009 16:28:40 -0000 Mailing-List: contact cassandra-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-dev@incubator.apache.org Received: (qmail 71189 invoked by uid 99); 30 Oct 2009 16:28:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 16:28:40 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.78.148 as permitted sender) Received: from [74.125.78.148] (HELO ey-out-1920.google.com) (74.125.78.148) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 16:28:35 +0000 Received: by ey-out-1920.google.com with SMTP id 4so685346eyg.8 for ; Fri, 30 Oct 2009 09:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=VdmP9uo02W0tjlxzxxViYGHKEpSJOMpM+oo7Oh0jMyc=; b=QaVOTxGkpP0zcvyal+dE7DjsV4rUByg3tB3W07tJP3zWP2v6gO7IOkg8oZvZBQL0mn amJgxaKSC9vxA51pWEcQ7x987xJ9uhtZW77Q54K0Zfhzr62lXBZLqu7afRA3A5KRlGPx RdzI0uk95PbdH9lKyYIQ6INYlPmgswfWtP3TU= 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; b=uYq/h1bdxJouMMc2dHa4RqFGvfzI1P1DpcvmPB1wFvP5tkuhGFjkp/g2ls8H3gIVkd 9LV9IHQMzqIT8A1DGvA96YG3m0r2JQPpzKhDkTIlkmArFir1y0SR/6LeC/fAL632mhRk ijVQ+aKzS21CjRo6wZsnzedTIqKeq2dMlSTHI= MIME-Version: 1.0 Received: by 10.216.87.5 with SMTP id x5mr617551wee.75.1256920094125; Fri, 30 Oct 2009 09:28:14 -0700 (PDT) In-Reply-To: <2B50A74A83055C4CA676E4F7D4149650FFCAF7@YMAIL03.yoox.net> References: <2B50A74A83055C4CA676E4F7D4149650FFCAF7@YMAIL03.yoox.net> From: Jonathan Ellis Date: Fri, 30 Oct 2009 10:27:54 -0600 Message-ID: Subject: Re: bootstrap & rack aware on Cassandra4.1 To: cassandra-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6db2d7bb8ae2c04772983d7 --0016e6db2d7bb8ae2c04772983d7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Right, rack-aware (really, endpointsnitch-aware) bootstrap isn't supported until 0.5, which trunk will become probably some time in November. On Fri, Oct 30, 2009 at 9:26 AM, Paderno Giampaolo < Giampaolo.Paderno@yoox.com> wrote: > Hi all, we experienced that writing on a rack aware node we get the > following error: > > > > ERROR [pool-1-thread-1] 2009-10-30 15:48:55,467 StorageProxy.java (line > 179) error writing key 13345671 > > java.lang.UnsupportedOperationException: Rack-aware bootstrapping not > supported > > at > org.apache.cassandra.locator.RackAwareStrategy.getWriteStorageEndPoints(R= ackAwareStrategy.java:132) > > at > org.apache.cassandra.locator.AbstractReplicationStrategy.getHintedStorage= EndPoints(AbstractReplicationStrategy.java:69) > > at > org.apache.cassandra.service.StorageService.getHintedStorageEndpointMap(S= torageService.java:982) > > at > org.apache.cassandra.service.StorageProxy.insertBlocking(StorageProxy.jav= a:151) > > at > org.apache.cassandra.service.CassandraServer.doInsert(CassandraServer.jav= a:468) > > at > org.apache.cassandra.service.CassandraServer.insert(CassandraServer.java:= 421) > > at > org.apache.cassandra.service.Cassandra$Processor$insert.process(Cassandra= .java:824) > > at > org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:6= 27) > > at > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolS= erver.java:253) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > > at java.lang.Thread.run(Unknown Source) > > > > We haven=92t understand how bootstrap works in Cassandra and how to enabl= e or > disable it. > > With trunk version everything works properly. > > > > Thanks > > > > Giampaolo Paderno > > Software Factory Developer > > YOOX Group > > Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia > > T +39 051 6184211 > > F +39 051 6184215 > > giampaolo.paderno@yoox.com > > > > [image: http://cdn2.yoox.biz/signature/yooxygen.jpg] > > Please consider the environment before printing this e-mail. > > > > *NOTICE: The information contained in this message is confidential, > intended only for the use of the individual or entity named above.* > > *If you are not the intended recipient, please notify us immediately by > telephone or e-mail and destroy this communication. Thank you**.* > --0016e6db2d7bb8ae2c04772983d7--