Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 3273 invoked from network); 10 Nov 2009 17:08:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 17:08:44 -0000 Received: (qmail 99598 invoked by uid 500); 10 Nov 2009 17:08:44 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 99571 invoked by uid 500); 10 Nov 2009 17:08:44 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 99562 invoked by uid 99); 10 Nov 2009 17:08:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 17:08:44 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 17:08:41 +0000 Received: by bwz2 with SMTP id 2so286421bwz.20 for ; Tue, 10 Nov 2009 09:08:20 -0800 (PST) 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 :content-transfer-encoding; bh=wC6OVZ++GCWI9l6FDb3IvrRgrPLeIYnZRw0bOGWTZ8k=; b=JSkQNmP1TYqWuIo3pGLZhyWRrIV++vCumLjre9TUVrvqfoy2iunDeMNFEKdT6lBVRq 5Vn//n7W3EOeRvmf8DlK3qaKu1fsakWi8eiGQd4I17Oafomfz1vY6dstezeIPqM/vN8e pr2r9JoK5PdCwDdGwec7awTiYBnYADNk2Oxkk= 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=mrrYSmsc3LNmDTtH8PmE5Am2oDHJd5tqE6oVFlxfc4iE/Ar7BVzDhSKuPiZNvLstuK J7KNHNb57Q/N8Feko0C9BLfU/ZkItn2Lab0MimTd6Th0tWffK1COjnTgkpqTzAfN9MqY JrQtPJ7tsAezsxKp1YUx37vXvGtYs9fCQStMQ= MIME-Version: 1.0 Received: by 10.216.89.200 with SMTP id c50mr108313wef.137.1257872900129; Tue, 10 Nov 2009 09:08:20 -0800 (PST) In-Reply-To: <468b21170911100859q35aeec27w9d3d4faeb46bce43@mail.gmail.com> References: <468b21170911100738u4e183063p8d6224d4799510dd@mail.gmail.com> <468b21170911100755lf846f18v68d83815aaf79db@mail.gmail.com> <468b21170911100837w60aa43c5vd9a281d6212a9f33@mail.gmail.com> <468b21170911100859q35aeec27w9d3d4faeb46bce43@mail.gmail.com> From: Jonathan Ellis Date: Tue, 10 Nov 2009 11:08:00 -0600 Message-ID: Subject: Re: Strange Data distribution in 0.4.2 To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable yup, so you need to decide what dates are actually going to appear in your = data On Tue, Nov 10, 2009 at 10:59 AM, Richard grossman wr= ote: > ok but If it's not defined ? for example 1 field is a date there is no en= d > for date ? > > On Tue, Nov 10, 2009 at 6:57 PM, Jonathan Ellis wrote= : >> >> no. >> >> for randompartitioner, you use integers from 0 to 2**127, but for OPP >> you use strings from your key universe. >> >> On Tue, Nov 10, 2009 at 10:37 AM, Richard grossman >> wrote: >> > If I understand good if I transform my String key :: >> > to >> > some long value and If I've 3 server then I put on the first server >> > initialToken : 0 >> > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 second : Long.max() /2 >> > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 third : Long.max() >> > >> > Is it correct ?? or there is something better ? >> > >> > thanks >> > >> > On Tue, Nov 10, 2009 at 6:01 PM, Jonathan Ellis >> > wrote: >> >> >> >> for OPP, tokens are equivalent to keys so pick keys evenly spaced apa= rt >> >> >> >> On Tue, Nov 10, 2009 at 9:55 AM, Richard grossman >> >> wrote: >> >> > hi >> >> > >> >> > I've understand this but I don't know what to write into initialtok= en >> >> > is >> >> > it >> >> > "1" or "a" or something else ? >> >> > as I've said in a previous post My keys are build like >> >> > :: >> >> > Is there any link ? >> >> > >> >> > Thanks, >> >> > >> >> > On Tue, Nov 10, 2009 at 5:48 PM, Jonathan Ellis >> >> > wrote: >> >> >> >> >> >> if you're not specifying initialtoken, every time you wipe your >> >> >> installation it will generate new tokens. =A0for a small number of >> >> >> machines you'll definitely see some random tokens better balanced >> >> >> than >> >> >> others. >> >> >> >> >> >> On Tue, Nov 10, 2009 at 9:38 AM, Richard grossman >> >> >> >> >> >> wrote: >> >> >> > Hi >> >> >> > >> >> >> > I've build the 0.4.2 from the tags in SVN. >> >> >> > I've made exactly the same cluster with same configuration as >> >> >> > 0.4.1 >> >> >> > I've delete all the data in all server >> >> >> > >> >> >> > Now I send the data to first server and the data is not more >> >> >> > distributed >> >> >> > across the other server as previously. >> >> >> > I've configured replica to 1 >> >> >> > >> >> >> > here is my storage-conf.xml >> >> >> > >> >> >> > >> >> >> > >> >> >> > =A0 BeeCluster >> >> >> > >> >> >> > >> >> >> > =A0 >> >> >> > =A0=A0=A0 >> >> >> > >> >> >> > =A0=A0=A0=A0=A0 > >> >> > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name= =3D"channelShowLink" >> >> >> > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FlushP= eriodInMinutes=3D"15"/> >> >> >> > >> >> >> > =A0=A0=A0=A0=A0 > >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0Name=3D"= channelShow" >> >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0FlushPer= iodInMinutes=3D"15"/> >> >> >> > >> >> >> > =A0=A0=A0=A0=A0 > >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 Name=3D= "userAction" >> >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 FlushPe= riodInMinutes=3D"15"/> >> >> >> > >> >> >> > =A0=A0=A0=A0=A0 > >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 Name=3D= "headends" >> >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 FlushPe= riodInMinutes=3D"15"/> >> >> >> > >> >> >> > =A0=A0=A0=A0=A0 > >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 Name=3D= "similarity" >> >> >> > =A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0 FlushPe= riodInMinutes=3D"500"/> >> >> >> > >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > org.apache.cassandra.dht.OrderPreservingPartitioner= >> >> >> > >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > org.apache.cassandra.locator.EndPointSnitch >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > org.apache.cassandra.locator.RackUnawa= reStrategy >> >> >> > >> >> >> > =A0 1 >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > /home/beecloud/cassandrapart/commitlog >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > >> >> >> > /home/beecloud/cassandrapart/data >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > >> >> >> > /home/beecloud/cassandrapart/callouts >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > /home/beecloud/cassandrapart/bootstrap >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > /home/beecloud/cassandrapart/staging >> >> >> > >> >> >> > >> >> >> > >> >> >> > =A0 >> >> >> > =A0=A0=A0=A0=A0 192.168.249.200 >> >> >> > =A0=A0=A0=A0=A0 192.168.249.222 >> >> >> > =A0=A0=A0=A0=A0 192.168.249.95 >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > =A0 >> >> >> > >> >> >> > =A0 >> >> >> > =A0 50000 >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > 128 >> >> >> > >> >> >> > >> >> >> > >> >> >> > =A0 192.168.249.200 >> >> >> > =A0 >> >> >> > =A0 7000 >> >> >> > =A0 >> >> >> > =A0 7001 >> >> >> > >> >> >> > >> >> >> > =A0 0.0.0.0 >> >> >> > =A0 >> >> >> > =A0 9160 >> >> >> > =A0 >> >> >> > =A0 false >> >> >> > >> >> >> > >> >> >> > >> >> >> > =A0 64 >> >> >> > >> >> >> > >> >> >> > =A0 32 >> >> >> > =A0 8 >> >> >> > >> >> >> > >> >> >> > =A0 64 >> >> >> > >> >> >> > >> >> >> > =A0 64 >> >> >> > >> >> >> > >> >> >> > 0.1 >> >> >> > >> >> >> > >> >> >> > =A0 8 >> >> >> > =A0 32 >> >> >> > >> >> >> > >> >> >> > =A0 periodic >> >> >> > >> >> >> > =A0 1000 >> >> >> > >> >> >> > =A0 >> >> >> > >> >> >> > >> >> >> > =A0 864000 >> >> >> > >> >> >> > >> >> >> > =A0 1 >> >> >> > =A0 1 >> >> >> > >> >> >> > >> >> >> > =A0 256 >> >> >> > >> >> >> > >> >> >> > >> >> >> > Is there anyone with the same problem ?? >> >> >> > >> >> >> > Thanks >> >> >> > >> >> > >> >> > >> > >> > > >